http://localhost:port/api/v1/? 401 Errors #3198
Unanswered
keiraxlicious
asked this question in
Q&A
Replies: 1 comment
-
|
Can you restart this application? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I don't understand why there's no documentation on this, i'm quite stumped attempting to access via postman.
So I first get my secret from my config.json.
I then do a POST req to auth/{id} to get my accessToken,
Save it to my Env
then lets say I go to
api/v1/toggle-play
I pass it as a Authorization Type: "Bearer Token" then the token is "{{myAccessToken}}
because I wanna setup endpoints for everything locally.
I get 401.
i looked up the type of token, it's HS256 JWT,
I try passing it as that w/ the Bearer Token method and it just keeps 401'ing.
Can someone dumb this down a lil? I just wanna send requests to pause/play/skip or add new songs to queue or fetch a list of songs, remove specific ones that are in queue.
Beta Was this translation helpful? Give feedback.
All reactions