You are here

constant RequestOptions::JSON in Lockr 7.3

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';