HTTP action on Azure Logic APPs

George OCAK 70 Reputation points
2023-03-27T18:48:39.66+00:00

Hello,

I want to use our sandbox solution via API with logic apps.

Sandbox lets us upload file samples with the curl command.

Could you please help me to integrate the curl command below with the Logic apps HTTP action? Regards,

curl -H 'Authorization: Bearer <YOUR_ACCESS_KEY>' \
    -F '_json={"kind":"file","defaults":{"network":"drop"}}' \
    -F 'file=@<YOUR_SAMPLE_FILE_PATH>' \
    https://address/api/

User's image

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,086 questions
{count} votes

Accepted answer
  1. MayankBargali-MSFT 70,141 Reputation points
    2023-03-31T11:18:57.5333333+00:00

    @George OCAK Thanks for reaching out. You can refer to this document for more details on the usage of HTTP connector.

    As -F parameter is used for multipart/form-data so you can refer to this section here.

    You need to change your body as mentioned in the document.

    User's image

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.