curl icon indicating copy to clipboard operation
curl copied to clipboard

Allow JSON payload in request body

Open adxgun opened this issue 7 years ago • 0 comments

Used json_encode($vars) for all requests that specify content-type: application/json in their header params.

The lib failed when posting JSON payload so i added a fix to json_encode($body) all requests that has content-type: application/json in their header.

adxgun avatar Oct 21 '18 08:10 adxgun