Class ApiQuery
ApiQuery is the base class for an API call.
HttpMethod must be GET or POST
RequestUri is the full API URL with any parameters added in as "@ParameterName"
these parameters will be substututed later for actual values.
Body is an optional parameter that can be used on POST calls.
Assembly: LemonEdge.ApiConnector.dll
Syntax
Constructors
ApiQuery(HttpMethod, Uri, HttpContent?)
Declaration
public ApiQuery(HttpMethod httpMethod, Uri requestUri, HttpContent? body = null)
Parameters
Properties
Body
Declaration
public HttpContent? Body { get; }
Property Value
HttpMethod
Declaration
public HttpMethod HttpMethod { get; }
Property Value
RequestUri
Declaration
public Uri RequestUri { get; }
Property Value
Extension Methods