calling a url endpoint with post

arkiboys 9,706 Reputation points
2023-07-06T13:41:17.7533333+00:00

hello,

I use the copy activity to call rest API and GET json data.

The copy activity uses a rest dataset to connect to the source

Now I would like to be able to call an endpoint to do a post so that some api code is executed and Nothing needs to be returned...

do I use web or copy activity?

thanks

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,624 questions
0 comments No comments
{count} votes

Accepted answer
  1. KranthiPakala-MSFT 46,642 Reputation points Microsoft Employee Moderator
    2023-07-06T20:56:34.76+00:00

    @arkiboys Thanks for using Microsoft Q&A forum and posting your query.

    As per my understanding your requirement is to call an API endpoint using POST method, but no return response is expected. Please correct me if I'm wrong here.

    If that is the case, then you can just use Web activity with POST method.

    In case if you would like to capture the API response and move that data to some other sink, then using Copy activity make sense.
    Hope this information helps. Let us know if you have further questions.


    Please don’t forget to Accept Answer and Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.

    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.