Returns anything passed in request data.
GET
/anything/*anythingResponses
JSON
{
"method": "string",
"uri": "string",
"headers": {
},
"origin": "string",
"query": {
},
"body_string": "string",
"json": null
}
GET
/anything/*anythingSamples
cURL
curl -X GET https://httpbin.rs/anything/*anything
JavaScript
fetch("https://httpbin.rs/anything/*anything")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("https://httpbin.rs/anything/*anything");
Python
import requests
response = requests.get("https://httpbin.rs/anything/*anything")
print(response.json())