Like what we’re doing? Star us on GitHub!

refresh API 404 not found

jbalatero
last year
1 1

Hello, the refresh /refresh gives me HTTP 404 Not Found with body:

Cannot POST /api/[slug]/refresh

The request already contains header Authorization: JWT [token here]

Login and logout endpoints are working fine.

Currently using Payload 0.9.4

Thanks

  • jmikrut
    Payload Team
    last year

    Wow! Our docs are wrong. The REST endpoint is:

    POST /api/[:collectionSlug]/refresh-token

    We are going to fix this immediately. Thanks for catching this!

    1 reply
  • jbalatero
    last year

    Thanks

Open the post
Continue the discussion in GitHub
Can't find what you're looking for?
Get help straight from the Payload team with an Enterprise License.Learn More