public void AuthPost(string username, string password) { StartCoroutine(PostRequest(POST_AUTH_URL, AuthJsonCreator.CreateLoginJson(username, password))); }
public void RegisterPost(string username, string password) { Debug.Log($"Register json {AuthJsonCreator.CreateRegisterJson(username, password)}"); StartCoroutine(PostRequest(POST_REGISTRATION_URL, AuthJsonCreator.CreateRegisterJson(username, password))); }