Hello, i was trying to send data in JSON format with AJAX, but when I tried, the server receives something like this (example):
Data to send:
{
'data': 'hello world'
}
The server receives:
{ "{ 'data': 'hello world' }": "" }
What can I do?
Develop games in your browser. Powerful, performant & highly capable.