cURL कमांड को fetch, Axios, Python, Go या PHP कोड में बदल दीजिए।
const response = await fetch("https://api.example.com/v1/users", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_TOKEN"
},
body: JSON.stringify({
"name": "Ada",
"email": "ada@example.com"
}),
});
const data = await response.json();
console.log(data);आपके ब्राउज़र में स्थानीय रूप से संसाधित — आपके डिवाइस से कुछ भी बाहर नहीं जाता।