• mikael.dev edited 3 months ago
    It's some what unclear for me in the API documentation whether a Personal access token can also be put into the headers and not only used as a parameter. Is there any chance this working in the headers and if so what is the header key and how do you format its header value? As this is for a server app, it doesn't need to handle Discogs s.

    Currently the headers have among others:
    -Agent: AppName/0.x +app.url
    token: [value string]

    When I move the token to the parameters there are no problems, really.

    Any ideas, or experience of success or failure using a Personal access token in the headers?

  • Show this post
    You can use your token in the headers like so:

    key: "Authorization"
    value: "Discogs token=TOKEN"

You must be logged in to post.