Possible to do HTTP POST instead of GET?

Asked Jan 28, 2020·1 reply·Last activity 6 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

I am attempting to use urlfetch to control a API. But the API requires a POST instead of a GET. There doesn't need to be anything in the body. Is there a way to do a POST?

1 reply

Nightbot's urlfetcher can only GET not POST. I recommend creating your own endpoint that accepts GETs and makes POSTs to the API. You can then interact with the API by using the urlfetcher to hit up your endpoint.