Forum Discussion
ADB0513
Feb 24, 2025Copper Contributor
Azure Data Factory GraphQL
I am trying to make a call to an API that uses GraphQL using ADF. I have 2 steps in the API. The first is to login and receive an authentication token. So, obviously the auth token is dynamic and needs to be received with each call of the API. The next step is to use that token to then call the GraphQL query. I can get it to work just fine in Postman, however I can't get it to work in ADF. I have tried using
{
"query": "query { <contents here> }"
}
This does not work and I get an error saying my JSON is not formatted correctly.
Any suggestions on how to get this to work in ADF?
1 Reply
Sort By
- SanjayGanvkarCopper Contributor
Does @json('{"query..."}') work ?