Webwrite in json format not working
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I was trying to write to an server using REST API. I tried it using POSTMAN it was working. The data i am trying to write is in json format. I gave Content type as json and Mediatype as application/json. requestmethod as post. The erro message is "The srver returned the status 415 with message unsupported media type".
4 Kommentare
Guillaume
am 24 Jul. 2019
Can you also show the working json that you sent via postman?
Is it correct that you have both a mimetype and a mimeType property and both a Name and name property in your JSON? It's unusual to have properties that differ just by case (and horrendous design!)
Antworten (0)
Siehe auch
Kategorien
Mehr zu JSON Format finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!