knife
knife

Reputation: 1

how to add http headers like access_token in GraphiQL UI

i am using graphiQL Ui with my loopback4 framework but i can't see http headers to add access_key in graphiQL UI. my rest api's are authorized by access_token now i have question how can i add access_token with my query.

GraphiQL Ui

please tell me how can i add access_token with my query. thanks

i just install npm i --save openapi-to-graphql-cli and run my loopback4 application with npm start and then in different terminal i run npx openapi-to-graphql-cli --port=3001 http://localhost:3000/openapi.json. after that i open browser and start graphql server by using http:localhost:3001/graphql

Upvotes: 0

Views: 559

Answers (0)

Related Questions