Skip to content Skip to sidebar Skip to footer

How To Send HTML Code In An Http POST Request?

I am an sending a HTTP POST request from a Google Web Toolkit app to a php script. The content-type is 'application/x-www-form-urlencoded' right now so I can send variables to php

Solution 1:

Percent-encode the query parameter. In JavaScript, you can use the encodeURIComponent function.


Post a Comment for "How To Send HTML Code In An Http POST Request?"