Why does the engine crash when I POST data to a server?
I am working on communications between my game and a cloud database. I'm working on the authentication part but when I try to pass data to the server in a POST the engine crashes. If I pass in a simple string like "username" it does not crash and I get an error response from the server as expected. But when I try to pass in a JSON string the engine crashes. Here is my code:
The stack trace points me to line 559 in CurlHttp.cpp.
However when the engine passes data here,
Here is what my data looks like that causes the engine to crash
You can see they are both JSON strings but mine causes the check to fail. I have also tried to completely URL encode the JSON string and the check still fails.
So why does this fail for me but passes when used by the engine?
asked Nov 18 '17 at 02:14 PM in C++ Programming
Turns out I had to set the
answered Nov 19 '17 at 01:02 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here