I have a question about the connection in JSON Call.
I had given the url (GraphQL url )to connect in the url section,
and in the http headers section, I had given the Authorization in Name and credentials in value. The same thing works in Postman but not in JSON calls.
Please make any suggestions.
Thanks
Avi
Best answer by AKislyakov
With JSON Call you have two options:
Register a Generic Server connection and provide credentials there. And then reference that server in Url Resource section of JSON Call step
You can set URL in the Url section of JSON Call. In that case you have to manually supply properly encoded Authorization header. E.g. to use basic authentication, you have to provide Base64 encoded user and password. (wiki)
Register a Generic Server connection and provide credentials there. And then reference that server in Url Resource section of JSON Call step
You can set URL in the Url section of JSON Call. In that case you have to manually supply properly encoded Authorization header. E.g. to use basic authentication, you have to provide Base64 encoded user and password. (wiki)
Hi @AvinashV0407, can you please share the whole plan with JSON call (you can remove Authorization details and obscure URL) and the error details.
Meanwhile, I noticed that you set Content-Type:application/json in JSON Call, whereas Postman uses Content-Type:application/graphql, so please check that you properly transformed the query for the JSON Call (check graphql docs for the details)
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.