Hi, I'm working on an integration from NetSuite t...
# suitescript
s
Hi, I'm working on an integration from NetSuite to a 3rd party Application. I need to keep sending POST requests at regular intervals. All I have is a URL (to send the request) and API key of the 3rd party application. What is the best way to approach this situation?
s
Do you mean that you need to call the third party API from NetSuite at regular intervals? If so, you'd need to use a scheduled script or a scheduled map/reduce script, depending upon the number of calls you need to make. What is the frequency of POST requests you need to make? You will need to use the
N/https
or
N/http
module to call out to the external endpoint. You'll need to use the appropriate authentication, if the endpoint requires it.
r
Try leveraging integrator.io to build the calls