Logo
10 Postman Features Everyone Should Know API Documentation

POST Form Data

POST https://postman-echo.com/post

The HTTP POST request method is meant to transfer data to a server (and elicit a response). What data is returned depends on the implementation of the server.

A POST request can pass parameters to the server using Query String Parameters, as well as the Request Body. For example, in the following request,

POST /hi/there?hand=wave

The parameter hand has the value wave. The request body can be in multiple formats. These formats are defined by the MIME type of the request. The MIME Type can be set using the Content-Type HTTP header. The most commonly used MIME types are:

  • multipart/form-data
  • application/x-www-form-urlencoded
  • application/json

This endpoint echoes the HTTP headers, request parameters, the contents of the request body and the complete URI requested when data is sent as a form parameter.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status





Curl
curl -X POST 'https://postman-echo.com/post' --data-urlencode '%7B%22name%22%3D%3E%22foo1%22%2C+%22value%22%3D%3E%22bar1%22%2C+%22datatype%22%3D%3E%22string%22%7D&%7B%22name%22%3D%3E%22foo2%22%2C+%22value%22%3D%3E%22bar2%22%2C+%22datatype%22%3D%3E%22string%22%7D'

ENDPOINTS