Skip to content

Can't create posts for logged-in users  #30

@josecarballosa

Description

@josecarballosa

given: access token: xxx.xxx.xxx for user { "id": 1 }
when: curl -H "Authorization: Bearer xxx.xxx.xxx" -H "Content-Type: application/json" -d '{"text": "some text"}' http://localhost:3000/posts
expect: { "id": 1, "text": "some text", "userId": 1}
actual: { "id": 1, "text": "some text" }

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