Generate a v8 UUID
GET
/uuid/v8Parameters
Query Parameters
buf*
The buffer to use for the UUID. The length must be 16.
Typearray
Requiredformat
An optional format to use for the UUID. If not provided, the default format (hyphenated) will be used.
Typestring
Enumhyphenated, simple, urn, braced
Responses
The generated UUID
string
GET
/uuid/v8Samples
cURL
curl -X GET https://httpbin.rs/uuid/v8
JavaScript
fetch("https://httpbin.rs/uuid/v8")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("https://httpbin.rs/uuid/v8");
Python
import requests
response = requests.get("https://httpbin.rs/uuid/v8")
print(response.json())