UiPath Documentation
activities
latest
false

Productivity activities

RunHttpRequest

Runs a raw HTTP request against the Microsoft Graph API.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

Assembly: UiPath.MicrosoftOffice365.Activities.Api (in UiPath.MicrosoftOffice365.Activities.Api.dll)

Syntax

HttpResponse RunHttpRequest(
	HttpRequestMethod method,
	string requestUrl,
	Dictionary<string, string> headers = null,
	Dictionary<string, string> parameters = null,
	string body = null
)
HttpResponse RunHttpRequest(
	HttpRequestMethod method,
	string requestUrl,
	Dictionary<string, string> headers = null,
	Dictionary<string, string> parameters = null,
	string body = null
)

Parameters

method HttpRequestMethod : The HTTP request method (GET, POST, PUT, PATCH, DELETE).

requestUrl String : The endpoint URL for the request (e.g., https://graph.microsoft.com/v1.0/me).

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

parameters Dictionary<String, String> (Optional) : Optional query parameters to include in the request.

body String (Optional) : Optional request body for POST, PUT, and PATCH requests.

Return value

HttpResponse - The HTTP response containing content, status code, and response headers.

  • Syntax
  • Parameters
  • Return value

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated