Connectors Reference

HTTP with Azure AD

Use the HTTP connector to fetch resources from various Web services, authenticated by Azure Active Directory (Azure AD), or from an on-premise web service.

 

Status: Preview

Tier: Premium

Version: 1.0

 

Actions:

Name

Summary

GetFileContent (string path)

Get web resource

InvokeHttp (HttpRequest request)

Invoke an HTTP request

 

Triggers:

Name

Summary

 

Objects:

Name

Summary

HttpRequest

 

 

Actions:

GetFileContent

Summary: Get web resource

Description: Retrieves a web resource by issuing an HTTP GET request.

 

Syntax:

HTTPwithAzureAD.GetFileContent (string path)

 

Parameters:

Name

Type

Summary

Required

Related Action

path

string

(Resource path)

file identifier

True

 

Returns:

          Type:string(binary)

          Summary: File Content

          Description: The content of the file.

 

InvokeHttp

Summary: Invoke an HTTP request

Description: Invokes an HTTP endpoint.

 

Syntax:

HTTPwithAzureAD.InvokeHttp (HttpRequest request)

 

Parameters:

Name

Type

Summary

Required

Related Action

request

HttpRequest

 

Properties of the request

True

 

Returns:

          Type:string(binary)

          Summary: Body

          Description: The content of the request.

 


 

HttpRequest

Summary:

Description: Properties of the request

 

          Properties:

Name

Type

Summary

method

string

Method

One of the known HTTP verbs: GET, DELETE, PATCH, POST, PUT.  Values: [GET, DELETE, PATCH, POST, PUT]

url

string

Url of the request

A full or relative URL to the resource. If it is a full URL , it must match the base resource URL set in the connection.

body

string(byte)

Body of the request

Body of the request when the method requires it.