10-19-2015 3:10 PM
I have implemented the RESTful service using ABAP HTTP POST method. The json is getting created. Whe I am using HTTP GET method, I am able to GET the data from JAVA server but when I am posting data using POST method, I am getting HTTP 500 Error(internal server error: java io exception).
What to do?
10-20-2015 3:14 AM
Hi Priya
Test that the Java Post works internally.
Then verify that the parameters you send via ABAP match those that you tested internally with.
That should narrow your issue down a bit.
Regards
Arden
10-26-2015 9:30 AM
10-26-2015 11:31 AM
Hello Priya,
What is the exact error you are getting after executing POST method? Also it may be an issue due to XSRF token which is needed for POST Requests so use first a GET request and then use the same header with POST method.
BR.
10-26-2015 11:40 PM
Hi Priya
Take a look through the document referenced below.
It has quite a bit of code which may be of use for you.
Some very good examples of a full implementation
Regards
Arden