중국인턴(Intern In China)/업무(Tasks)
Unity Http Put Json Type
Jae Ryun, Buster, Chung
2017. 1. 11. 19:37
This is the code to connect server by HTTP Put method and send Json data in Unity3D
use HttpWebRequest Class to request, and Stream class to put Json data. Then, Response will be obtained using HttpWebResponse and StreamReader class.
Response is in StreamReader.ReadToEnd();