Newer
Older
Holzheu Hannah
committed
### abc
Holzheu Hannah
committed
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJsdWthcy5rYXJzY2hAZ214LmRlIiwiaWF0IjoxNzAxMTY0ODMxLCJleHAiOjE3MDEyNTEyMzF9.c8NrtsWI0TyZPDG6wgoibEZnqPtGuXjvd9u6HQ3lOEU
POST http://localhost:8080/api/v1/auth/register
content-type: application/json
{
"email": "lukas.karsch@gmx.de",
"firstname": "Lukas",
"lastname": "Karsch",
}
### Authenticate
POST http://localhost:8080/api/v1/auth/authenticate
content-type: application/json
{
"email": "lukas.karsch@gmx.de",
Holzheu Hannah
committed
"password": "myPassword123"
Holzheu Hannah
committed
### SearchRequest
GET http://localhost:8080/api/v1/plants/search
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJsdWthcy5rYXJzY2hAZ214LmRlIiwiaWF0IjoxNzAxMjczMDI4LCJleHAiOjE3MDEzNTk0Mjh9.eOZvYQZDfcv1rUG8sQ3E7nDuZjgQffWR_jQVMQK9WLw
content-type: application/json
{
"searchTerm": "Salat"
}