HelpersGetHttpResponseMessage Method (String, HttpMethod, String) |
Gets the HTTP response from an HTTP request call with jsonContent in anonymous authentication.
Namespace:
WorkflowGen.My.Web
Assembly:
WorkflowGen.My (in WorkflowGen.My.dll) Version: 9.0.3.0 (9.0.3.20240719)
Syntax public static HttpResponseMessage GetHttpResponseMessage(
string apiUri,
HttpMethod httpMethod,
string jsonContent = null
)
Public Shared Function GetHttpResponseMessage (
apiUri As String,
httpMethod As HttpMethod,
Optional jsonContent As String = Nothing
) As HttpResponseMessage
Parameters
- apiUri
- Type: SystemString
Uri of the API - httpMethod
- Type: System.Net.HttpHttpMethod
Type of the HTTP request - jsonContent (Optional)
- Type: SystemString
Content of the HTTP request in JSON format
Return Value
Type:
HttpResponseMessageSee Also