If you are not looking for a third-party plugin and assume that your server supports it, then one of the methods you can use when using is the HTTP header "HTTP override method". Your client sends data to the server via POST, but the server treats this as the value in the X-HTTP-Method-Override header (e.g. PUT).
I have used this before to use our server efficiently. An example of using this in Unity3d would be as follows:
string url = "http://yourserver.com/endpoint"; byte[] body = Encoding.UTF8.GetBytes(json); Dictionary<string, string> headers = new Dictionary<string, string>(); headers.Add( "Content-Type", "application/json" ); headers.Add( "X-HTTP-Method-Override", "PUT" ); WWW www = new WWW(url, body, headers);
source share