---
title: "What are HttpPost and HttpGet ?"  
description: "What are HttpPost and HttpGet ?"  
author: "Amit Singh"  
published: 2011-03-28  
updated: 2020-09-17  
canonical: https://www.mindstick.com/interview/687/what-are-httppost-and-httpget  
category: "asp.net"  
tags: ["asp.net"]  
reading_time: 1 minute  

---

# What are HttpPost and HttpGet ?

Both HTTP GET and HTTP POST use HTTP (Hyper Text Transfer Protocol) as the underlying protocol. The GET and POST methods have been widely in Servlets, CGI, ASP, and many more. Both of these methods encode the request parameters as name value pairs in the HTTP request. The GET method creates a query string and appends it to the script’s URL on the server that handles the request. For the POST method the values are passed in the body of the HTTP request message.

## Answers

### Answer by Amit Singh

Both HTTP GET and HTTP POST use HTTP (Hyper Text Transfer Protocol) as the underlying protocol. The GET and POST methods have been widely in Servlets, CGI, ASP, and many more. Both of these methods encode the request parameters as name value pairs in the HTTP request. The GET method creates a query string and appends it to the script’s URL on the server that handles the request. For the POST method the values are passed in the body of the HTTP request message.


---

Original Source: https://www.mindstick.com/interview/687/what-are-httppost-and-httpget

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
