// Update is called once per frame public void Submit() { var post = new User { username = input.text, }; Debug.Log(post.username); Request request = new Request { uri = "/test", body = post }; request.RequestSuccessEvents += OnSuccess; request.RequestFailedEvents += OnFailure; IlluminaWebRequest.Post <User>(request); }
public static void Store <T>(Request request) { IlluminaWebRequest.Post <T>(request); }