Can we make API requests directly in functions or do we have to use webhooks? From this thread it sounds like we’ll have to use webhooks still for POST/PATCH.
1 Like
Right now, you need to go through webhooks as network egress needs to be approved, and that mechanism is currently in place on the sources themselves. That said, you can call that webhook directly from your function code using Promises.
Here is the documentation: https://www.palantir.com/docs/foundry/functions/external-sources/
1 Like
+1 on this question, as some system, for example SOAP based are overall painful to connect with. There are typescript library to handle the calls.
Writing a function that would perform the API calls to this system, while using the third party library would be great.