Hi Jon,
Thanks for your response. I have some follow up questions regarding this. Let me first give some more context.
We need to send push notifications from Adobe and we have our own centralized notification hub that directs the requests to correct provider (iOS & Android). According to Adobe official documentation, one should use HTTPClientRequest for this. However it is only libcurl and therefore is sending the requests as sequential which in our case is not possible as there will be millions of requests. Also I've heard that this method is not recommended to anybody hence i think it should be removed from documentation.
Our notification service is rest API and now we need to figure out the best way to provide the requests.
Currently I am investigating two possible options:
1. Send the requests from the Adobe campaign server using parallel curl calls or python script with execCommand from workflow.
2. Possibly build a middleware and serve the audience as file from adobe and send the API requests from the middle server.
Option number 1 is currently more attractive for us as it requires less engineering.
Do you know under which privileges execCommand is executed through campaign workflow because when i run simple example script directly from the command line it works fine with the authentication we are using but when execute the same script through workflow with execCommand it seems to send it as user because the authentication doesn't work. As a reference, when send the same post request from javascript box the authentication works fine.
Thanks,
Ari