ADF copy activity - post method

arkiboys 9,686 Reputation points
2024-02-07T13:43:31.4366667+00:00

Hi I am using an api with post How is it possible to call post method in the source of ADF?

I tried the post method in copy activity and passed in body parameters but the error I get is:

Error:

Failure happened on 'Source' side. ErrorCode=RestCallFailedWithClientError,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Rest call failed with client error, status code 405 MethodNotAllowed, please check your activity settings.

Request URL: https://xyz

Response: The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used.,Source=Microsoft.DataTransfer.ClientLibrary,'

thank you

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,196 questions
{count} vote

1 answer

Sort by: Most helpful
  1. QuantumCache 20,261 Reputation points
    2024-02-08T00:46:19.9633333+00:00

    Hello @arkiboys I tried to check the POST method via Copy Data Activity, and it works when i do the Data Preview. Did you try the same POST methods from POSTMAN?
    Please share more details from your side, User's image

    1 person found this answer helpful.
    0 comments No comments