The request's GET parameters
GET
/getResponses
JSON
{
"method": "string",
"uri": "string",
"headers": {
},
"origin": "string",
"query": {
},
"body_string": "string",
"json": null
}
GET
/getSamples
cURL
curl -X GET https://httpbin.rs/get
JavaScript
fetch("https://httpbin.rs/get")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("https://httpbin.rs/get");
Python
import requests
response = requests.get("https://httpbin.rs/get")
print(response.json())