Conversions
Example and code snippet
Incoming and outgoing conversions
provider: DATA_PROVIDER_REST
method: GET
# Pdf indicates a generic binary type
format: pdf
url: https://graph.microsoft.com/v1.0/me/photo/$value
outputTransform: $.{"data":$.data,"userId":$.inputs.userId.value}
useLocalCall: true
parameters:
accessToken:
location: header
required: true
type: string
value: oauth.microsoft
userId:
type: string
location: path
required: true
# Add a conversion to ensure the file can be viewed in the app.
conversions:
- property: data
from: base64
to: local-uriConvert device specific formats
Last updated
Was this helpful?