Skip to content

Unable to verify token #1

Open
Open
@meghead

Description

@meghead

Though I'm able to signup and userlogin in Postman here;

app.post('/signup', addNewUser);
app.post('/userlogin', userLoginCheck);,

I'm unable to get anything from the following endpoints;

apiRoutes.get('/', welcome);
apiRoutes.get('/users', findAllUsers);

I've tried using the returned JWT token in raw body json, parameters, bearer token, forms and headers as ;

"token" : "mygeneratedtoken"

But it's returning;

Cannot GET /users

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions