Skip to Content
avatar image
Former Member

implementing RESTful services using ABAP HTTP POST method.

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Oct 20, 2015 at 02: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

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 26, 2015 at 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.

    Add comment
    10|10000 characters needed characters exceeded