This is a question I have been asking myself for months, and I have yet to figure out how to use HTTPService with plugins. I'm currently working on a Pastebin plugin, and of course for it to work I need to use HTTPService. Any examples/explanations will be helpful, thanks!

4 comments

0

Good question. Whenever I read their API and try it https://pastebin.com/api , it always tells me "Bad API request, invalid api_option"

0

no like I literally did a post request with my developer key, my api option, and my text I wanted in a paste in a JSON dictionary and it doesn't work

0

You have to check the httpenabled box in the httpservice instance