You are here

constant RequestOptions::JSON in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/guzzlehttp/guzzle/src/RequestOptions.php \GuzzleHttp\RequestOptions::JSON

json: (mixed) Adds JSON data to a request. The provided value is JSON encoded and a Content-Type header of application/json will be added to the request if no Content-Type header is already present.

File

vendor/guzzlehttp/guzzle/src/RequestOptions.php, line 140

Class

RequestOptions
This class contains a list of built-in Guzzle request options.

Namespace

GuzzleHttp

Code

const JSON = 'json';