HTTP Post (no browser)

HTTP Post works just like HTTP Get with the following exceptions.
  • No browser is opened. Information is sent to a web server and the web server handles the request, but nothing pops up on the user's machine. 
  • The parameters are sent in the post body rather than the query string.
  • In php, you access the parameters using $_POST instead of $_GET.
  • In Java, you override the doPost method instead of the doGet method:
    • protected void doPost(HttpServletRequest req, HttpServletResponse resp)
      instead of
    • protected void doGet(HttpServletRequest req, HttpServletResponse resp)
Beyond that, everything else should remain the same.
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request
Powered by Zendesk