I have no problem using cURL from the command line: curl 'https://inbots.zoom.us/incoming/hook/xxxxxxxxxxxxx' -X POST -H 'Authorization: XXXXXXXX' -d 'Hello World!'
I have tried with the following but get no response, no errors, nothing. Maybe I should be using Axios? Any suggestions or hints on the best way to form the request would be most appreciated - thank you!
Nghia Nguyen : I would suggest axios overall, but that isn’t the problem. If you’re running that code as is, it’s going to have a problem running in the asynchronous function. You need to promisify your callback function and await it.
Dylan Sather (Pipedream) : if it helps, we have a guide for making HTTP requests on Pipedream here, as well: Make HTTP Requests with Node.js . +1 to Nghia’s suggestion to use axios - we use that a lot internally and it has a relatively simple interface once you get to know it
Paul : Thanks so much . I did my homework with axios and now have it working and can see how incredibly useful it will be.
Still learning and thanks again to you and the incredible Pipedream team and community.
Nghia Nguyen : no problem , and welcome to the community. This is a great platform to use for a lot of things. Also a reason why I like using axios is because it has interesting other feature packages like axios-retry - npm , which lets you automatically set retry logic that it’ll try to its best ability to execute if HTTPS calls fail for some reason.