https://www.toyota.de/automobile/corolla/index.json
I understand how .JSON works but, how is it possible to use that instead of say, .php or .html this is the first time I've seen anything like that.
https://www.toyota.de/automobile/corolla/index.json
I understand how .JSON works but, how is it possible to use that instead of say, .php or .html this is the first time I've seen anything like that.
This is a pure, wild-ass guess, but since nobody else has answered...
I'd bet that that URL names an actual .json file on the server. I expect that when you ask for it, the server runs some hunk of custom code that reads the .json file, and then generates an HTML document for the server to return. What I don't know is whether the developers used a third party toolkit, or whether they invented it themselves.
A smart web developer would use a popular third party tool kit, and let somebody else do the work of keeping up-to-date with the ever changing standards that define the web.
index.jsonisContent-Type: text/html; charset=utf-8. It is odd, though, I'll give you that.