public void GivenIHaveUrlWithEndpointEndpoint(string strEndPoint) { RestAPIHelper.setURL(RestAPIHelper.strResource); }
public void WhenICallGetMethodOfAPI() { RestAPIHelper.createRequest(); }
public void ThenIWillGetUserInformation() { var response = RestAPIHelper.GetResponse(); }
public async Task <IHttpActionResult> SendMessage(string url, string phone, string message) { var result = await RestAPIHelper.CallAPI(url, phone, message); return(Ok(result)); }
public void WhenICallGetMethodInAPI() { RestAPIHelper.GetRequest(); }
public void WhenICallGetMethodToGetUserInformationUsingWl(string userid) { RestAPIHelper.GetRequest(userid); }
public void GivenIHaveAnEndpoint(string endpoint) { RestAPIHelper.seturl(endpoint); }
public void WhenISendTheRestRequestUsingGET() { RestAPIHelper.CreateRequest(); }
public void GivenTheEndpointIs(string endpoint) { RestAPIHelper.setUrl(endpoint); }
public void CleanUp() { restHelper = null; }
public void Initialize() { restHelper = new RestAPIHelper(); }