json placeholder custom api code example
Example 1: json placholder
fetch('https://jsonplaceholder.typicode.com/todos/1')
.then(response => response.json())
.then(json => console.log(json))
Example 2: json placeholder custom api
{
"Number": "919962069618",
"RingUrl": "http://domainname/ringurl",
"AnswerUrl": "http://domainname/answerurl",
"HangupUrl": "http://domainname/hangupurl",
"HttpMethod": "POST",
"Xml": "<Response><play>https://smscountry.com/voice_clips/TTS_210422142600.mp3</play></Response>"
}