You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to test the graphql queries via restassured. When i try to pass bearer token via header, its not accepting the token and gives this error:
{"timestamp":"2019-05-28T20:47:48.065+0000","status":403,"error":"Forbidden","message":"Invalid Access Token.User Not logged In")
This questing is unrelated to graphql-js since it doesn't deal with HTTP.
Please, open a question on StackOverflow or repo issue to client or server library you are using.
Hi, I am trying to test the graphql queries via restassured. When i try to pass bearer token via header, its not accepting the token and gives this error:
{"timestamp":"2019-05-28T20:47:48.065+0000","status":403,"error":"Forbidden","message":"Invalid Access Token.User Not logged In")
Here's my restassured call:
response = given().relaxedHTTPSValidation().header(new Header("Authorization", "Bearer " + token)) .contentType(ContentType.JSON).request().body(request).when().post(baseUrl);
what im doing wrong here? Same thing works fine from Postman & Graphiql
The text was updated successfully, but these errors were encountered: