UiPath Documentation
activities
latest
false

Productivity activities

HttpRequest

Sends an HTTP request using the authenticated Google account.

Namespace: UiPath.GSuite.Activities.API

Assembly: UiPath.GSuite.Activities.API (in UiPath.GSuite.Activities.API.dll)

Syntax

HttpRequestResult HttpRequest(
	string url,
	RequestMethod method = RequestMethod.GET,
	IDictionary<string, string> headers = null,
	IDictionary<string, string> parameters = null,
	string body = null
)
HttpRequestResult HttpRequest(
	string url,
	RequestMethod method = RequestMethod.GET,
	IDictionary<string, string> headers = null,
	IDictionary<string, string> parameters = null,
	string body = null
)

Parameters

url String : The URL to send the request to.

method RequestMethod (Optional) : The HTTP method to use. Default is GET.

headers IDictionary<String, String> (Optional) : Optional HTTP headers to include in the request.

parameters IDictionary<String, String> (Optional) : Optional query parameters to append to the URL.

body String (Optional) : Optional request body content.

Return value

HttpRequestResult - The HTTP response including status code, headers, and content.

  • Syntax
  • Parameters
  • Return value

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated