...
The data format is JSON. On PUT requests not all data fields must be given, only the fields with changed data are sufficient.
Currently the JSON can not be transferred as raw HTTP content, but must be put into a form variable named "data". In future plain JSON will be possible too!
Therefore the HTTP Header Content-Type must be: "application/x-www-form-urlencoded; charset=UTF-8". The form-data body should look like:
Code Block | ||
---|---|---|
| ||
// just upload the JSON as raw body
{HERE-DATA-AS-JSON-URL-ENCODED}
//EXCEPTION FOR FILE UPLOADS:
//The JSON can not be transferred as raw HTTP content, but must be put into a form variable named "data".
data = {HERE-DATA-AS-JSON-URL-ENCODED} |
...