Hi,
I am new to Wikimedia API and tried my hands on the Wikimedia sandbox. I am trying to make a simple query where I want to get the ‘info’ & ‘categories’ of a page by its title.
Query -
/w/api.php?action=query&format=json&prop=info%7Ccategories&titles=India&formatversion=2
But I am getting a strange response where it simply returns the following response -
Response -
{
"batchcomplete": true,
"query": {
"pages": [
{
"ns": 0,
"title": "India",
"missing": true,
"contentmodel": "wikitext",
"pagelanguage": "en",
"pagelanguagehtmlcode": "en",
"pagelanguagedir": "ltr"
}
]
}
}
I am not able to figure out what is going on here. A few days back this returned a proper response.
Has anyone else seen this response ?
Please help me out here if anyone has a clue about what is wrong.