/// <summary> /// Begin a new asynchronous ListChallengeRequest /// </summary> /// <param name="requestData"></param> /// <returns></returns> public async Task <ListChallengeResponse> ListChallengeRequestAsync(ListChallengeRequest requestData) { var res = await Requestor.PostStringAsync(Urls.ListChallengeRequest, JsonHelper.SerializeData(requestData)); return(JsonConvert.DeserializeObject <ListChallengeResponse>(res.ResponseJson)); }
/// <summary> /// Begin a new ListChallengeRequest /// </summary> /// <param name="requestData"></param> /// <returns></returns> public ListChallengeResponse ListChallengeRequest(ListChallengeRequest requestData) { return(JsonConvert.DeserializeObject <ListChallengeResponse>(Requestor.PostString(Urls.ListChallengeRequest, JsonHelper.SerializeData(requestData)).ResponseJson)); }