OAuth2HTTPContentType

public enum OAuth2HTTPContentType: String

Content types that will be specified in the request header under Content-type.

  • JSON content: application/json

    Declaration

    Swift

    case json = "application/json"
  • Form encoded content, using UTF-8: application/x-www-form-urlencoded; charset=utf-8

    Declaration

    Swift

    case wwwForm = "application/x-www-form-urlencoded; charset=utf-8"