www.postman.com Open in urlscan Pro
2606:4700:7::a29f:8235  Public Scan

Submitted URL: http://postman-echo.com/
Effective URL: https://www.postman.com/postman/workspace/published-postman-templates/documentation/631643-f695cab7-6878-eb55-7943-ad88e...
Submission: On November 04 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

Product
Pricing
Enterprise
Resources and Support
Explore
Search Postman


Sign InSign Up for Free
99+




 * PRODUCT

 * PRICING

 * ENTERPRISE

 * RESOURCES AND SUPPORT

 * EXPLORE

Sign InSign Up for Free
Published Postman Templates
New
Import
Collections
APIs
Environments
Mock servers
History
Air Quality Monitor - India


Air Quality Monitor - India #for-flows


Airtable to SurveyMonkey uploader


Amazon Book Price Tracker


Anchor tags in Postman documentation


API 101


API Learner


Audio Wisher


AWS ElastiCache Utilization Checker


AWS ElasticBeanstalk Audit


AWS IAM & Organization Audit


AWS RDS Audit


Backup Facebook Albums to Dropbox


Basics of API
firstforkcollection

Bitbucket Pipelines-Buildkite Run Status


Bitcoin Tracker ₿


Bookish Octo Fiesta


catURL


Chaos engineering


Cloudinary Usage #monitor


Cooper's Meal Plan 🐶 🐶


Cosmos


Cosmos Collection for mocking


Crypto Tracker


Databases


Dependency Updater for Bitbucket


Discourse Topic Audit


Dishwasher Duty


Echo visualizer


Eisenhower Matrix


Eribank


Extract data to chain requests


Facebook Friends Birthday Reminder


Find Fake Chrome Apps Using Postman


Fortnite & Discord Integration


Founder API Template


Generate JWT


GitHub Popular Searches


Github to JIRA


Github-Support-Issues-Alert


GraphQL Echo


gRPC Echo


HealthCheck Slackbot




Postman Echo





Postman Echo



Fork

10k
View Collection
Publish
Version
CURRENT
Language
cURL

Documentation


POSTMAN ECHO

Normal text








Postman Echo is a service you can use to test your REST clients and make sample
API calls. It provides endpoints for GET, POST, PUT, various auth mechanisms and
other utility endpoints.

The documentation for the endpoints as well as example responses can be found at
https://postman-echo.com




REQUEST METHODS

Normal text








HTTP has multiple request "verbs", such as GET, PUT, POST, DELETE, PATCH, HEAD,
etc.

An HTTP Method (verb) defines how a request should be interpreted by a server.
The endpoints in this section demonstrate various HTTP Verbs. Postman supports
all the HTTP Verbs, including some rarely used ones, such as PROPFIND, UNLINK,
etc.

For details about HTTP Verbs, refer to RFC 2616





GETGET REQUEST

Open request
https://postman-echo.com/get
Normal text








The HTTP GET request method is meant to retrieve data from a server. The data is
identified by a unique URI (Uniform Resource Identifier).

A GET request can pass parameters to the server using "Query String Parameters".
For example, in the following request,

> http://example.com/hi/there?hand=wave

The parameter "hand" has the value "wave".

This endpoint echoes the HTTP headers, request parameters and the complete URI
requested.




Example
GET Request Woops

Request
cURL


curl --location 'https://postman-echo.com/get?foo1=bar1&foo2=bar2'

200 OK
Response
 * Body
 * Headers (9)

View More
json


{
    "args": {
        "foo1": "bar1",
        "foo2": "bar2"
    },
    "headers": {
        "x-forwarded-proto": "https",
        "host": "postman-echo.com",
        "accept": "*/*",
        "accept-encoding": "gzip, deflate",
        "cache-control": "no-cache",
        "postman-token": "5c27cd7d-6b16-4e5a-a0ef-191c9a3a275f",
        "user-agent": "PostmanRuntime/7.6.1",
        "x-forwarded-port": "443"
    },
    "url": "https://postman-echo.com/get?foo1=bar1&foo2=bar2"
}

Content-Encoding
gzip
Content-Type
application/json; charset=utf-8
Date
Tue, 11 Jun 2019 10:43:13 GMT
ETag
W/"161-aLhNcsGArlgLSKbxPqfBW3viHPI"
Server
nginx
set-cookie
sails.sid=s%3AGz-wblZgXE8FCDq7aJpx_tUgZUcG3Nsw.LdNEN8L0C7nGWkvGLwvdw6R2s6Syjr%2FzkvyevA8qR0c;
Path=/; HttpOnly
Vary
Accept-Encoding
Content-Length
249
Connection
keep-alive


POSTPOST RAW TEXT

Open request
https://postman-echo.com/post
Normal text








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.




Bodyraw (text)
text


{
    "test": "value"
}


POSTPOST FORM DATA

Open request
https://postman-echo.com/post
Normal text








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.




Bodyurlencoded
foo1
bar1
foo2
bar2
Example
POST Form Data

Request
cURL


curl --location 'https://postman-echo.com/post' \
--data-urlencode 'foo1=bar1' \
--data-urlencode 'foo2=bar2'

200 OK
Response
 * Body
 * Headers (7)

View More
json


{
    "args": {},
    "data": "",
    "files": {},
    "form": {
        "foo1": "bar1",
        "foo2": "bar2"
    },
    "headers": {
        "x-forwarded-proto": "https",
        "x-forwarded-port": "443",
        "host": "postman-echo.com",
        "x-amzn-trace-id": "Root=1-63e0c942-584c7dab4a1c52d34d581b03",
        "content-length": "19",
        "user-agent": "PostmanRuntime/7.30.1",
        "accept": "*/*",
        "cache-control": "no-cache",
        "postman-token": "159c6495-8e5f-4ce0-bacd-ac399a86ec03",
        "accept-encoding": "gzip, deflate, br",
        "content-type": "application/x-www-form-urlencoded"
    },
    "json": {
        "foo1": "bar1",
        "foo2": "bar2"
    },
    "url": "https://postman-echo.com/post"
}

Date
Mon, 06 Feb 2023 09:32:50 GMT
Content-Type
application/json; charset=utf-8
Content-Length
541
Connection
keep-alive
ETag
W/"21d-xfFK76757VvHgzzscqtMAqpVMD8"
Vary
Accept-Encoding
set-cookie
sails.sid=s%3A2_ZQ2_JOXHPJpdYeKx8H9Vl7cWGbHQRb.RYNjk0CqTPQJ%2FkAXEcFxGeHIJrNStXm9Nxi8ib0wcDI;
Path=/; HttpOnly


PUTPUT REQUEST

Open request
https://postman-echo.com/put
Normal text








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

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

> PUT /hi/there?hand=wave




Bodyraw (text)
text


This is expected to be sent back as part of response body.


PATCHPATCH REQUEST

Open request
https://postman-echo.com/patch
Normal text








The HTTP PATCH method is used to update resources on a server. The exact use of
PATCH requests depends on the server in question. There are a number of server
implementations which handle PATCH differently. Technically, PATCH supports both
Query String parameters and a Request Body.

This endpoint accepts an HTTP PATCH request and provides debug information such
as the HTTP headers, Query String arguments, and the Request Body.




Bodyraw (text)
text


This is expected to be sent back as part of response body.


DELETEDELETE REQUEST

Open request
https://postman-echo.com/delete
Normal text








The HTTP DELETE method is used to delete resources on a server. The exact use of
DELETE requests depends on the server implementation. In general, DELETE
requests support both, Query String parameters as well as a Request Body.

This endpoint accepts an HTTP DELETE request and provides debug information such
as the HTTP headers, Query String arguments, and the Request Body.




Bodyraw (text)
text


This is expected to be sent back as part of response body.

HEADERS

Normal text








The following set of endpoints allow one to see the headers being sent as part
of a request and to get a custom set of headers as part of response.

HTTP header fields provide required information about the request or response,
or about the object sent in the message body. Both request headers and response
headers can be controlled using these endpoints.





GETREQUEST HEADERS

Open request
https://postman-echo.com/headers
Normal text








A GET request to this endpoint returns the list of all request headers as part
of the response JSON. In Postman, sending your own set of headers through the
Headers tab will reveal the headers as part of the response.




Request Headers
my-sample-header
Lorem ipsum dolor sit amet
Example
my-sample-header

Request
cURL


curl --location 'https://echo.getpostman.com/headers' \
--header 'my-sample-header: Lorem ipsum dolor sit amet'

200 OK
Response
 * Body
 * Headers (12)

View More
json


{
    "headers": {
        "host": "echo.getpostman.com",
        "accept": "*/*",
        "accept-encoding": "gzip, deflate, sdch",
        "accept-language": "en-US,en;q=0.8",
        "cache-control": "no-cache",
        "my-sample-header": "Lorem ipsum dolor sit amet",
        "postman-token": "3c8ea80b-f599-fba6-e0b4-a0910440e7b6",
        "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36",
        "x-forwarded-port": "443",
        "x-forwarded-proto": "https"
    }
}

Access-Control-Allow-Credentials

Access-Control-Allow-Headers

Access-Control-Allow-Methods

Access-Control-Allow-Origin

Connection
keep-alive
Content-Encoding
gzip
Content-Length
342
Content-Type
application/json; charset=utf-8
Date
Thu, 31 Mar 2016 11:14:00 GMT
Server
nginx/1.6.2
Vary
Accept-Encoding
X-Powered-By
Sails <sailsjs.org>


GETRESPONSE HEADERS

Open request
https://postman-echo.com/response-headers?foo1=bar1&foo2=bar2
Normal text








This endpoint causes the server to send custom set of response headers.
Providing header values as part of the URL parameters of a GET request to this
endpoint returns the same as part of response header.

To send your own set of headers, simply add or replace the the URL parameters
with your own set.




Query Params
foo1
bar1
foo2
bar2
Example
Response headers

Request
cURL


curl --location 'https://echo.getpostman.com/response-headers?Content-Type=text%2Fhtml&test=response_headers'

200 OK
Response
 * Body
 * Headers (13)

html


{"Content-Type":"text/html","test":"response_headers"}

Access-Control-Allow-Credentials

Access-Control-Allow-Headers

Access-Control-Allow-Methods

Access-Control-Allow-Origin

Connection
keep-alive
Content-Encoding
gzip
Content-Length
71
Content-Type
text/html; charset=utf-8
Date
Thu, 31 Mar 2016 11:14:18 GMT
Server
nginx/1.6.2
Vary
Accept-Encoding
X-Powered-By
Sails <sailsjs.org>
test
response_headers
AUTHENTICATION METHODS

Normal text








This folder doesn't have a description.




































JUMP TO
Introduction
Request Methods
Headers
Authentication Methods
Cookie Manipulation
Utilities
Utilities / Date and Time
Auth: Digest
Server Events




Online
Console






 * 
   What is Postman?API RepositoryToolsGovernanceWorkspacesIntegrationsGet
   Started Free

 * 


   LEARN MORE
   
   Postman Enterprise
   Customers
   Contact Sales
   
   
   SOLUTIONS
   
   Enterprise Essentials
   Postman for API Test Automation
   Postman for Internal API Management

 * 


   LEARNING
   
   Learning Center Docs
   Postman Academy
   White Papers
   Breaking Changes Show
   Templates new
   Tutorials
   Webinars
   State of the API Report
   Guide to API-First
   
   
   COMMUNITY AND EVENTS
   
   Blog
   Community
   Postman Supernovas
   Student Program
   Events
   Postman Swag
   
   
   SUPPORT
   
   Support Center
   Reseller Support
   Postman Status
   Release Notes
   Contact Us

 * Body
 * Headers (9)

 * Body
 * Headers (7)

 * Body
 * Headers (12)

 * Body
 * Headers (13)