command
module
Version:
v0.0.0-...-f677a5a
Opens a new window with list of versions in this module.
Published: Aug 24, 2024
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
GIN JWT secured
cURL requests
-
Get all tags
curl --location 'localhost:8888/api/tag'
-
Get a tag by ID
curl --location 'localhost:8888/api/tag/1'
-
Create a tag
curl --location 'localhost:8888/api/tag' \
--header 'Content-Type: application/json' \
--data '{
"name": "test"
}'
-
Update a tag
curl --location --request PATCH 'localhost:8888/api/tag/1' \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"name": "updated tag"
}'
-
Delete a tag
curl --location --request DELETE 'localhost:8888/api/tag/1'
Users
-
Signup
curl --location 'localhost:8888/api/auth/signup' \
--header 'Content-Type: application/json' \
--data-raw '{
"fullname": "John Doe",
"email": "john.doe@email.com",
"password": "123456"
}'
-
Signin
curl --location 'localhost:8888/api/auth/signin' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "john.doe@email.com",
"password": "123456"
}'
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
|
|
data
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.