2023 Mar 22 12:28 PM
Hello,
I want to call a REST API asynchronously via ABAP using the class CL_HTTP_CLIENT. Can anyone suggest how to do that? Is it required to be done via wrapping it in a FM and calling it old style "call function <FM> in background task" or a better way possible?
Thanks,
Mainak
2023 Mar 22 2:17 PM
See this blog: https://blogs.sap.com/2023/02/17/parallelize-cl_http_client/
Multiple parallel calls, all asynchronous.
2023 Mar 22 2:17 PM
See this blog: https://blogs.sap.com/2023/02/17/parallelize-cl_http_client/
Multiple parallel calls, all asynchronous.
2023 Mar 23 6:10 AM
Wow I never realized that cl_http_client was asynchronous, now I understand why there are 2 methods send and receive, late but always learning 😄
2023 Mar 23 7:01 AM
sandra.rossi This is why I read the ABAP Development blogs every Friday morning!