Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. <form>
  2. <input id = "sendLink" type = "text" placeholder = "insert a link here">
  3. </form>
  4.  
  5. xmlhttp.open('POST', 'http://host:8453/page.htm', true);
  6. xmlhttp.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
  7. xmlhttp.send($link);
  8.  
  9. "headers": {
  10. "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
  11. ...
  12. more headers here
  13. ...
  14. "User-Agent": "Mozilla/5.0"
  15. },
  16. "httpVersion": "1.1",
  17. "method": "POST",
  18. "post": {
  19. "http://sameURL.com": ""
  20. },
  21. "postRaw": "http://sameURL.com",
  22. "url": "/page.htm"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement