5 replies to this topic
#1
Posted 21 April 2013 - 02:01 PM
Hello there. I was trying a pastebin code to try out an OS and when I did the pastebin get command, it showed this:
#2
Posted 21 April 2013 - 02:02 PM
You need to enable the HTTP API.
#3
Posted 21 April 2013 - 06:58 PM
To enable the HTTP API, follow the instructions on the wiki:
http://www.computerc...itle=HTTP_(API)
It's different if you're on a Mac, but if you're a PC guy, this should work.
http://www.computerc...itle=HTTP_(API)
It's different if you're on a Mac, but if you're a PC guy, this should work.
#4
Posted 22 April 2013 - 05:58 AM
I had the similiar problem even though I had enabled the HTTP api one time so I created a program like this:
Hope it worked for you!
function clear()
term.clear()
term.setCursorPos(1,1)
end
--Pastebin code
clear()
write("CODE: ")
code = read()
--Filename
clear()
write("Name: ")
name = read()
clear()
shell.run("http/pastebin", "get", code, name)
IDK, But when I did this it worked, And after that It worked using regulary too..Hope it worked for you!
#5
Posted 22 April 2013 - 06:23 AM
Sammich Lord, on 21 April 2013 - 02:02 PM, said:
You need to enable the HTTP API.
QuantumGrav, on 21 April 2013 - 06:58 PM, said:
To enable the HTTP API, follow the instructions on the wiki:
http://www.computerc...itle=HTTP_(API)
It's different if you're on a Mac, but if you're a PC guy, this should work.
http://www.computerc...itle=HTTP_(API)
It's different if you're on a Mac, but if you're a PC guy, this should work.
Mainly cause I'm always screwin around with config files xD
Hellkid98, on 22 April 2013 - 05:58 AM, said:
I had the similiar problem even though I had enabled the HTTP api one time so I created a program like this:
Hope it worked for you!
function clear()
term.clear()
term.setCursorPos(1,1)
end
--Pastebin code
clear()
write("CODE: ")
code = read()
--Filename
clear()
write("Name: ")
name = read()
clear()
shell.run("http/pastebin", "get", code, name)
IDK, But when I did this it worked, And after that It worked using regulary too..Hope it worked for you!
#6
Posted 30 April 2013 - 03:58 PM
I had the same problem on a server, but is it off by default? itdoesn't seem to my because on my own private server it was already on...
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











