HTTPBin

302/3XX Redirects to the given URL.

trace
https://httpbin.org/redirect-to

Response

302

A redirection.

trace/redirect-to
 
302

302 Redirects n times.

get
https://httpbin.org/redirect/{n}

Path Parameters

nintegerrequired

Response

302

A redirection.

get/redirect/{n}
 
302

Relatively 302 Redirects n times.

get
https://httpbin.org/relative-redirect/{n}

Path Parameters

nintegerrequired

Response

302

A redirection.

get/relative-redirect/{n}
 
302

Anything

Returns anything that is passed to request

Returns anything passed in request data.

delete
https://httpbin.org/anything

Response

200

Anything passed in request

delete/anything
 
200