on 10-18-2017 4:56 PM
Hello All,
I have a requirement to consume a webservice where the data transfer happens in JSON format. I need to send a request in a deep structure and then receive the data back.
I have seen examples where the request has only one field which is sent in the URL as in the link below.
https://blogs.sap.com/2014/03/27/consuming-an-external-restful-web-service-with-abap-in-gateway/
Could someone please let me know how can we prepare the data and call the url from an ABAP program. Any sample snippets would be very helpful.
Thank you,
Regards,
Sri
Hi Sridhar,
Since you are mentioning that the service you are trying to consume expects a payload, I assume that we are talking the POST method. Have you reviewed this blog post yet?
Regards,
Patrick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
any pointers from someone on this please?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.