Loading workspace…
URL inspector, cURL converter, headers, status and MIME reference.
fetch("https://api.example.com/users", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer TOKEN",
},
body: JSON.stringify({"name":"Ada"}),
});Content-Type: application/json
Nothing here is sent anywhere — this only builds text.