Skip to content
Snippets Groups Projects
requests.http 859 B
Newer Older
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJsdWthcy5rYXJzY2hAZ214LmRlIiwiaWF0IjoxNzAxMzcyNTIxLCJleHAiOjE3MDE0NTg5MjF9.8_rTh-5s4A6D1t_bdRdQFbM5RdNl2fpCLETpTQzInuc
GET http://localhost:8080/api/v1/garden
Authorization:Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJsdWthcy5rYXJzY2hAZ214LmRlIiwiaWF0IjoxNzAwOTMzNjQ4LCJleHAiOjE3MDEwMjAwNDh9.IXoMuNecB7ARvZpEyx5SraMbdoZrHgADeHd7wAo0ddw
Lukas Karsch's avatar
Lukas Karsch committed

### Create account
POST http://localhost:8080/api/v1/auth/register
Lukas Karsch's avatar
Lukas Karsch committed
content-type: application/json

{
  "email": "lukas.karsch@gmx.de",
  "firstname": "Lukas",
  "lastname": "Karsch",
  "password": "myPassword123"
Lukas Karsch's avatar
Lukas Karsch committed
}

### Authenticate
POST http://localhost:8080/api/v1/auth/authenticate
content-type: application/json

{
  "email": "lukas.karsch@gmx.de",
Lukas Karsch's avatar
Lukas Karsch committed
}