What is the best and easiest way to get an HTTP body from a post request and parse it with the variable? Say that there are two properties of latitude and longitude in my body, in which I want to remove the value.
The other thing is how can I test it so that I can see these values?
You can do something similar to the POST handling in your PHP: < Pre> Some browsers have developer tools that allow you to view POST data posted by the browser. I use the firebug plug-in for Firefox I think the built-in developer tool can do the same thing IE 8 and above (I think F12) is not sure about Chrome, but I'm sure something nearby is. $ latitude = $ _POST ['latitude']; $ Longitude = $ _POST ['longitude'];
Comments
Post a Comment