I'm new to JS and am trying to retrieve the location from jsonblob/api.
I'm trying to test the example, mentioned in the site. But, was unable to retrieve any location. I've read the doc couple of times but didn't get any reference of the process of getting the location/id of the api call. What should I do ?
Here's my code
fetch("https://jsonblob.com/api/jsonBlob", {
body: '{"people":["bill", "steve", "bob"]}',
headers: {
Accept: "application/json",
blobID: "980492826223853568",
"Content-Type": "application/json"
},
method: "POST"
}).then(res => {
console.log("Request complete! response:", res);
});
Although I'm referencing a blobID, but still I don't see any update here after getting status:201. What should I do?
Sorry for my poor English. I'm a non-native speaker.