I have been trying for some time to get server interaction between a server, and Unity set up. I can do pulls(GETs) fine, but POST just does not work.
my question is what is needed both in terms of unity code, and server to make POST work. what I think so far is this:
Unity needs to know the base url, and then I need to have Unity give post information (but what do I give it to? the server directly, or a specific script on the server?). then the server returns a response.
what do I need server side, and what do I need Unity side to get the WWW class fully functional (and the documentation is [funny][1] at [best][2] as I have looked and don't understand)
currently I just want to request a specific record [see here][3] for details
[1]: http://docs.unity3d.com/Documentation/ScriptReference/WWW.html
[2]: http://docs.unity3d.com/Documentation/ScriptReference/WWWForm.html
[3]: http://answers.unity3d.com/questions/403107/including-post-request-data-for-restfull-server.html
↧