While a POST to the endpoint api/v1/jobs correctly returns status 200 and valid JSON such as {"status":true,"data":{"id":35},"timestamp":1460820123.347}, a PUT to api/v1/jobs/{jobID] returns status 200 but no JSON data at all (zero-length string). The client expects it to return similar JSON to the POST request
This appears to be a regression and is causing the production app to report that the job update failed when in fact it succeeded.
While a
POST
to the endpointapi/v1/jobs
correctly returns status 200 and valid JSON such as{"status":true,"data":{"id":35},"timestamp":1460820123.347}
, aPUT
toapi/v1/jobs/{jobID]
returns status 200 but no JSON data at all (zero-length string). The client expects it to return similar JSON to thePOST
requestThis appears to be a regression and is causing the production app to report that the job update failed when in fact it succeeded.