Jump to content




HTTP help


  • You cannot reply to this topic
1 reply to this topic

#1 birdini

  • Members
  • 7 posts

Posted 19 August 2012 - 05:00 PM

I have looked nearly everywhere for a tutorial on how to correctly use the http api. When I use http.get() on a pastebin It returns the entire html document of the webpage, not just the text I need. Any suggestions?

#2 sjele

  • Members
  • 334 posts
  • LocationSomewhere on the planet called earth

Posted 19 August 2012 - 05:02 PM

If http is enabled in config do:
pastebin get haya5a nameOnComputer

haya5a is the part after pastebin.com/





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users