quickregister 1 Posted November 9, 2017 Report Share Posted November 9, 2017 I am trying to post a reply to a contact form using the http post plugin. I used live http headers on Firefox to get this code the headers. POST /index.php?a=13&b=6600493 HTTP/1.1Host: websiteurl.comUser-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Language: en-US,en;q=0.5Accept-Encoding: gzip, deflate, brContent-Type: application/x-www-form-urlencodedContent-Length: 408Referer: https://websiteurl.com/index.php?a=13&b=6600493Cookie: __utma=88518477.1289142651.1510187212.1510261163.1510266845.6; __utmz=88518477.1510187212.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); classified_session=aca13cfd60adb6d10d8d9d8ae7933818; __utmc=88518477; __utmb=88518477.10.10.1510266845Connection: keep-aliveUpgrade-Insecure-Requests: 1c%5Bsenders_name%5D=Mary&c%5Bsenders_email%5D=test%40gmail.com&c%5Bsenders_phone%5D=&c%5Bsenders_comments%5D=sounds+interesting.&recaptcha_challenge_field=03AHhf_5288d7w9e_tBp2h_qqIuyuDVfNNnenQK7SaJAHZ6sJ4f4Jd0k_NMywTiA-wpJyB7FJ8xRnPvwtQaYgcCOwDsrxOooe7icmZj6jKC6N8FZMLLa684xevEKS3IKnhd7S_vo2w27rSfEx6Eq1kxAjqbhd7_aJxllx-9f_V8SnlvKt4yBsT_oLKXyUaZ7FrQps2gyMPoh_l&recaptcha_response_field=&submit=Send+Message: undefined I used this code in http post plugin set(#post, $plugin function("HTTP post.dll", "$http post", "https://websiteurl.com/index.php?a=13&b=2516777 ", "senders_name=Max&senders_email=test@gmail.com&senders_phone=na&senders_comments=Nicely+done&submit=Send+Message", $plugin function("HTTP post.dll", "$http useragent string", "Random"), "websiteurl.com", "", 3), "Global")load html(#post) I keep getting the error message "Invalid URI: The hostname could not be parsed." I see where the host name is in the headers but I do not know how to pass on this info.(I do not care about the captcha at this point I am just trying to get this to post even if it is rejected) Does anybody have any ideas? Thank you! Quote Link to post Share on other sites
HelloInsomnia 1103 Posted November 10, 2017 Report Share Posted November 10, 2017 Try this: set(#post,$plugin function("HTTP post.dll", "$http post", "https://websiteurl.com/index.php", "a=13&b=2516777&senders_name=Max&senders_email=test@gmail.com&senders_phone=na&senders_comments=Nicely+done&submit=Send+Message", $plugin function("HTTP post.dll", "$http useragent string", "Random"), "websiteurl.com", "", 3),"Global") load html(#post) Quote Link to post Share on other sites
quickregister 1 Posted November 16, 2017 Author Report Share Posted November 16, 2017 Thank you very much I will try this! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.