Application Development 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: 

abap Call rest api using $batch

adel_adel
Participant
0 Kudos
1,408

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

catano
Active Participant
815

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

adel_adel
Participant
0 Kudos
815

Unfortunately i m not using odata