Hi,
I am trying to set up a simple API request to update the Product Title of a single product. This is being sent from our Filemaker database. Here is the structure of the JSON request being sent:
Header:
JSON Request:
When I sent the request, this is the response:
Can anyone shed any light on this? Happy to provide any other information that might help solve this.
Thanks, Matt
I am trying to set up a simple API request to update the Product Title of a single product. This is being sent from our Filemaker database. Here is the structure of the JSON request being sent:
Header:
Code:
"-u [I]ourapiusername:ourapiKey[/I] -X PUT -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Basic" --show-error --dump-header $$dump --trace $$trace"
Code:
{
"title" : "Title via API"
}
Code:
HTTP/1.1 415 Unsupported Media TypeDate: Wed, 23 May 2018 13:54:06 GMT Server: Apache X-Frame-Options: SAMEORIGIN Upgrade: h2,h2c Connection: Upgrade X-Requests-Limit: 500 X-Requests-Remaining: 483 Vary: Accept-Encoding,User-Agent Content-Encoding: gzip Content-Length: 142 Content-Type: application/json
Thanks, Matt
Comment