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
Deft Penguin
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.