I am integrating a monetization SDK that offers S2S callbacks and I am wondering if I can call a cloud script similar to how I can do actions via http requests?
I am integrating a monetization SDK that offers S2S callbacks and I am wondering if I can call a cloud script similar to how I can do actions via http requests?
Yes, you can make webhook calls from CloudScriptto any Web API endpoint, using standard Representational State Transfer (REST) calls, more information please see: https://docs.microsoft.com/en-us/gaming/playfab/features/automation/cloudscript/making-webhook-calls-from-cloudscript
Besides, it must be noted that, the response from external server may be a little slow in some cases, which results in exceeding the execution time limit, and the script will exits at that point. Brendan provided detailed instructions here: https://community.playfab.com/questions/12524/what-happens-when-youre-exceeding-the-cloudscript.html
2 People are following this question.