Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8524

Re: Unsupported Media Type

$
0
0

How ever you can forget about creating entries with XML payload which is not supported. And, for POST operation, you should not specify the key. POST is basically CREATE operation , where you can create a new entry identified by a key. The key is not existing currently in the database. So you can not refer the same. For example, to cretae a book, build the JSON with the entity strucutre, fill all the data and POST with out specifying the key value. Hope you are handling CSRF also.

 

 

Sreehari


Viewing all articles
Browse latest Browse all 8524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>