allow to upload images

but also files, hmmmm
This commit is contained in:
2026-03-16 21:45:39 +03:00
parent 3a8bc6df2d
commit d8fc6e481f
18 changed files with 437 additions and 1 deletions

7
docs/api/auth/folder.yml Normal file
View File

@@ -0,0 +1,7 @@
info:
name: auth
type: folder
seq: 1
request:
auth: inherit

View File

@@ -0,0 +1,22 @@
info:
name: login user
type: http
seq: 2
http:
method: POST
url: "{{base_url}}/api/auth/login"
body:
type: json
data: |-
{
"email": "daniil@tsivinsky.com",
"password": "Daniil2000"
}
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5

View File

@@ -0,0 +1,22 @@
info:
name: register user
type: http
seq: 1
http:
method: POST
url: "{{base_url}}/api/auth/register"
body:
type: json
data: |-
{
"email": "daniil@tsivinsky.com",
"password": "Daniil2000"
}
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5