Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Exception when Updating/Inserting data using oData service

$
0
0

Well if POSTMAN works, then it would certainly appear that the XSODATA service is working correctly.  It would seem to be something with the way that .NET prepares the call.  The XSODATA service only supports JSON body for CREATE/UPDATE/DELETE.  If you have an option make sure you are sending JSON and not ATOM/XML from .NET.  Even if the body is JSON, you must also make sure that the REQUEST header sets content-type “application/json”


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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