Passing encoded value in URL in a get request from azure synapse copy activity

Bhoopathiraju Deepthi 66 Reputation points
2022-12-19T13:30:25.027+00:00

I am able to send post request to Google search console from postman which requires the Urlsite name to be encoded and passed in the request.

How to achieve the same from azure synapse ?
I am able to get the response by sending as below along with body as well.
Looking to achieve the same from azure synapse.

272135-image.png

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,374 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ShaikMaheer-MSFT 38,546 Reputation points Microsoft Employee Moderator
    2022-12-20T05:50:47.707+00:00

    Hi @Bhoopathiraju Deepthi ,

    Thank you for posting query in Microsoft Q&A Platform.

    Path variables should be part of your API URL. So, in Azure Synapse Copy activity, you need to use dataset which is REST connector type and in URL itself you need to include the path variable value.

    Please check below screenshots:
    Request from Postman :
    272277-image.png

    To create same request from Synapse, create a linked service which is REST type and create a dataset REST type use this linked service and use that dataset in copy activity.
    272278-image.png

    Hope this helps. Please let me know if any further queries.

    ----------

    Please consider hitting Accept Answer button. Accepted answers help community as well.


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.