GraphQl says “bad token” when connecting to Artifactory endpoint

GraphQl says “bad token” when connecting to Artifactory endpoint


0

I’m trying got make some request as the documentation

curl -H "Authorization: Bearer <Your Token>" -XPOST https://<server:port>/metadata/api/v1/query -d '{"query":"..." }'

Also directly in https://artifactory.com:PORT/metadata/api/v1/query/graphiql.
I previously generated my access token as admin in Jfrog but each time I send a request I get a "bad token" message. Should I use a special TOKEN?


Load 5 more related questions


Show fewer related questions

0



Leave a Reply

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