Postman giving 401 Unauthorized upon adding graphql-java-client dependency in spring boot

Postman giving 401 Unauthorized upon adding graphql-java-client dependency in spring boot


-1

I am working on a spring boot project with gradle that calls an external graphQL service using GraphQLHTTP Client. For this, I imported the following dependency in my build.gradle:
implementation group: ‘com.graphql-java-generator’, name: ‘graphql-java-client-dependencies’, version: ‘2.3.1’

However, when I try to hit any endpoint (API) upon addition of above dependency, I am getting 401 Unauthorized error.

I am using java11 and spring boot version is 2.6.6


Load 4 more related questions


Show fewer related questions

0



Leave a Reply

Your email address will not be published. Required fields are marked *