Power Automate - How to upload a file using PipeDrive API?

preview_player
Показать описание
This video explains how to upload a file using PipeDrive API.

Here are the details of the API

Method: Post

Headers:
{
“Accept”: “application/json”,
“Content-Type”: “multipart/form-data”
}

Queries:
{
“api_token”: “your api token”
}

Body:
{
“$content-type”: “multipart/form-data”,
“$multipart”: [
{
“body”: “your deal id”,
“headers”: {
“Content-Disposition”: “form-data; name="deal_id"”
}
},
{
“body”: {
“$content”: “your binary format of the file content”,
“$content-type”: “application/pdf”
},
“headers”: {
}
}
]
}
Рекомендации по теме
Комментарии
Автор

How to upload a csv file to api end point? Any help on this ?

amazeme