Notes API
API Endpoint
http://localhost:5000Accounts ¶
Create an account ¶
Headers
Content-Type: application/jsonBody
{
+Notes API Notes API
API Endpoint
http://localhost:5000Accounts ¶
Create an account ¶
POST http://localhost:5000/userRequestsHeaders
Content-Type: application/json
Body
{
"username": "babar",
"email": "michel@seed-it.eu",
"password": "tortue"
@@ -36,9 +36,8 @@
"type": "string"
}
}
-}
Register a new userPOST/register
Authenticate user ¶
Authenticate
- one user to access protected routing.
-POST http://localhost:5000/loginRequestsHeaders
Content-Type: application/json
Body
{
+}
Register a new userPOST/user
Authenticate user ¶
Authenticate one user to access protected routing.
+Headers
Content-Type: application/jsonBody
{
"username": "babar",
"password": "tortue"
}Schema
{
@@ -80,7 +79,7 @@
"type": "number"
}
}
-}Authenticate a userPOST/login
Notes ¶
Notes ¶
Headers
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5cHeaders
Content-Type: application/jsonBody
[
+}Authenticate a userPOST/user/login
Notes ¶
Notes ¶
Headers
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5cHeaders
Content-Type: application/jsonBody
[
{
"title": "Kotlin",
"tags": [
@@ -218,7 +217,7 @@
"type": "array"
}
}
-}Generated by aglio on 20 Apr 2020