How to receive a response back from a foreign API in an event handler

Hello @Michael_Kadron,

Yes, I know how to do a HTTPs request call, thank you

You asked:

That’s why I asked you if it was possible to send a cURL POST from a Backendless API Service.

I described to you how to do it. The only difference is that it is an HTTP request, not a cURL, but why would you need a cURL? The HTTP block will do the same thing. So I just answered your question.

Sergey (Kuk) has me place the existing HTTPs call to the foreign API inside an async block

Sergey gave you the wrong suggestion due to a misunderstanding (I apologize for that), but later on that topic @vladimir-upirov described why this (an async block) will not work in your case and why you should not use it. There’s no way to get a response in an async block, the reason is described here:

I tried to solve your issue without async block and, if I reproduce your logic in my demo app, it will work as you expect. Have you tried what I have suggested?

Regards,
Stanislaw