Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Frank_Haschick
Explorer


Usually, when you split your team and you are the Gateway-developer, you want to test your Gateway-services with the Gateway-service client (Transaction /IWFND/GW_CLIENT, but I prefer to go via the service maintenance /IWFND/MAINT_SERVICE).

If your team is working purely with JSON, you might want to view all the results also in JSON-Format.

To send data to the SAP Gateway (POST/PUT requests), you have to add the header

Content-Type: application/json

If you want the SAP Gateway to send the result to you in JSON-Format, you usually use the URL-Parameter $format=json

But this only works, if you make a GET request. For all the other requests, put in another header:

Accept: application/json

Then the SAP system will deliver JSON-Format to you, even for error messages etc.

This is my first blog here on SCN, yipieh :smile:

Labels in this area