I have an app in which I am using JSON tools (by LukeGackle). API which I am using sometime it works and sometimes it doesn’t. So when it doesn’t work this msg appear {“error”:“miss”}
But when it works this msg appear
{
“title”:“any title”,
“thumbnail”:“thumbnail.jpg”,
“urls”:[
{
“id”:“qwert.mp4”,
“label”:“mp4”,
“size”:“x”
}]}
So how to know that api is working or not. Means how to know that when will I get only “error” and when I will get “title, thumbnail, etc”.?
