3.12.4. RequestContentType Previous topic Parent topic Child topic Next topic

This string parameter defines the Content-Type HTTP header value for POST, PUT and PATCH request methods. One of:
  • application/json
  • application/x-www-form-urlencoded
  • text/plain
  • application/text
  • application/plain
If set to empty or to one of text or plain types, simple keyword=value encoding without escaping is used. Defaults to application/x-www-form-urlencoded
# The service we use requires POSTs in JSON format
RequestContentType application/json