Skip to content

cookies #1

@kjetthe

Description

@kjetthe

1) Register “alice”

curl.exe -X POST -H "Content-Type: application/json" -d '{ "username": "alice", "password": "alicepwd" }' http://127.0.0.1:5000/auth/register

2) Log in as “alice” (save her cookie jar)

curl.exe -X POST -c alice_cookies.txt -H "Content-Type: application/json" -d '{ "username": "alice", "password": "alicepwd" }' http://127.0.0.1:5000/auth/login

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