Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

HTTPService post text to a website? How?

Asked by
DevNetx 250 Moderation Voter
10 years ago

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

1
You can't use HttpService on the Roblox website. HexC3D 830 — 10y
0
I was talking about another website if I made one. DevNetx 250 — 10y

1 answer

Log in to vote
0
Answered by
GShocked 150
9 years ago

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.

Ad

Answer this question