In theory we looked at an example where we converted an object to JSON and returned it with call.respondText
This function sets Content-Type: text/plain by default.
How can we change the type of the return data to application/json?
In theory we looked at an example where we converted an object to JSON and returned it with call.respondText
This function sets Content-Type: text/plain by default.
How can we change the type of the return data to application/json?
Create a free account to access the full topic