Hello evryone, i am new to the web development, and i have some isues with POST.
I have to send some values to an external server (to hostelworld.com) for the booking of some hostel using POST. The values are e-mail, first name, credit card number ecc..
I have created a form with textaras, check box, etc... with all the variables requiered. This is the form:
Now when i made the request, i got an errore, becose the sever of hostelworld talkes the ip of the client, and not the ip of the server, and dosen't allowed the connection.
I think this is an errore becouse there is something wrong withg the post request. I have not inserted in the request this part:
POST .........HTTPS/1.0
Host:.......
Content-Type: .....
Content-Length: .......
I don't now how to insert this in the form, or if i have to insert this in some other way.
Any help is very appreciated.
Bookmarks