I was wondering... How would I make HTTPService when you click a button post text to a page on a website. What would the code be on the website/ROBLOX? Thanks
HTTPService post text to a website? How?
1 answer
I have a working pastebin upload script. I think pastebin requires you to login when using their api; Maybe not but I think so. Anyhow, here it is:
http://www.roblox.com/Pastebin-Upload-item?id=302297532
I am having some problems with it though; It returns "Bad API Request, api_option invalid" sometimes and sometimes not; It depends on the content. I think it has to do with the size of the upload. It can upload up to 1024kb (1mb) but I have to GZIP it after something like 256 bytes, which is not a lot. I don't know how to GZIP it though; I am going to post a question on that now.
Anyhow, if you want to upload small stuff that works for now. :) I will update the model if I find a fix.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
You can't use HttpService on the Roblox website.
I was talking about another website if I made one.