Hey all,
Not sure if this is the right place to ask this question, but I'm attempting to send some json data from godot to a django server. The godot-side code looks a bit like this:
var obj_to_send = {
"field": "some data"
}
var SERVER_ADDRESS = "http://localhost:8000/django_app_name/upload"
$HTTPRequest.request(SERVER_ADDRESS, PoolStringArray(), true, HTTPClient.METHOD_POST, JSON.print(obj_to_send))
However, the django server doesnt receive anything. There isn't even a message about a connection being made--its just nothing. Does anyone know what I could be doing wrong?
Also, if this is the wrong place to ask, please let me know where would be a better place.
Any help is appreciated.