• My Pages
  • Comments
  • Add Link
  • Subscribe
  • Subscribe User
  • Edit (GUI)
  • Edit (Text)
  • Rename Page
  • Copy Page
  • Load Page
  • Save Page
  • Delete Page
  • Attachments
  • Check Spelling
  • Diffs
  • Info
  • Revert to this revision
  • XML
  • Render as Docbook
  • Print View
  • Raw Text
  • Delete Cache
  • Like Pages
  • Local Site Map
  • Remove Spam
  • Package Pages
  • Sync Pages
    • Diff for "Post"
    Differences between revisions 5 and 6
    Revision 5 as of 2014-09-09 14:40:18
    Size: 516
    Editor: Inanna
    Comment:
    Revision 6 as of 2014-09-09 14:40:45
    Size: 516
    Editor: Inanna
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 12: Line 12:
     post URL DATA  post URL data

    Post

    Usage: post URL DATA

     message = "This will be posted to file.php"
    
     data = {msg:message}
    
     URL = "http://localhost:8080/file.php"
    
     post URL data

    This will post the data to the given URL. In the example above it sends the message: "This will be posted to file.php" to a file on a locally hosted server.

    An example of how you might use this command would be NEATOlert which is available here: NEATO


    ScriptControlStructures

    Post (last edited 2014-09-09 14:40:45 by Inanna)