Universeorange.com/Docs/
{response.json()}
Sets the resulting of a template to json. this can be useful with writing a backend.
The normal behavior is without this function to result a json object in case of a XMLHttpRequest
:
{
"html" : "...",
"method" : "...",
"target" : "...",
"script" : [ ... ],
"link" : [ ... ]
}
Setting {response.json()}
will result in a custom json response.
Last modified: 2021-06-07
© 2021 universeorange.com