IHttpApiGetTData Method (HttpApiGetRequest) |
Namespace: Casewhere.Runtime.DSL.Api
HttpApiResponse<TData, string> Get<TData>( HttpApiGetRequest httpApiGetRequest )
var httpApi = @apiFactory.Get<IHttpApi>(); var samlId = "_baed74d5-78b9-4ab5-93fd-f5bb61b10d03"; var url = "https://nemlogin.kk.dk/nemlogin/loggedInService/{samlId}"; var httpResponse = httpApi.Get<bool>(HttpApiRequest.CreateGetRequest(url)); Log.Info("Response: {@response}", httpResponse); var newSessionStatus = httpResponse.Data;