Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

abap Call rest api using $batch

adel_adel
Participant
0 Likes
2,466

Hello Experts,

Is it possible to send a request unsing batch option through the class CL_REST_HTTP_CLIENT ?

I need to send multiple POST requests in a batch ?

Any sample code on how to achieve this?

Thanks in advance,

Kind regards

2 REPLIES 2
Read only

catano
Active Participant
1,873

Hi adel.adel ,

This is how you should construct the batch request, if you are using OData:

https://www.odata.org/documentation/odata-version-2-0/batch-processing/

Regards,

Peter

Read only

adel_adel
Participant
0 Likes
1,873

Unfortunately i m not using odata