Difficulty in sending API request (Get API)

Khushboo 21 Reputation points
2021-01-15T13:29:58.927+00:00

Followed the following link to try Rest API in Azure purview -
https://learn.microsoft.com/en-us/azure/purview/tutorial-using-rest-apis

We have added this to postman -
https://raw.githubusercontent.com/Azure/Purview-Samples/master/rest-api/Test.postman_collection.json

we are trying sending rest API request for purview we have successfully received the token by using get token API available in above collection and while doing the get operation we are getting unauthorized error.

57166-1.png57231-2.png

Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
955 questions
0 comments No comments
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA-MSFT 78,986 Reputation points Microsoft Employee
    2021-01-19T07:08:53.913+00:00

    Hello @Khushboo ,

    Welcome to the Microsoft Q&A platform.

    In order to resolve the issue try to remove the double quotes in the access token.

    58041-image.png

    Step1: Select Get Token

    57877-image.png

    Step2: Select /v2/types/typedefs:

    58023-image.png

    Hope this helps. Do let us know if you any further queries.

    ------------

    • Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification.

0 additional answers

Sort by: Most helpful