-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathimage.http
More file actions
32 lines (26 loc) · 977 Bytes
/
image.http
File metadata and controls
32 lines (26 loc) · 977 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
@accessToken = eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NzM2MzQyNzcsImlhdCI6MTc3MzYzMzk3Nywic3ViIjoiMDE5Y2QxNTQtOWMxZC03MjhkLWEyYjktOWEyNWIyY2I2NjNiIn0.yqC57J19N6udmHSU5egWl61ux0IKOf5CgxYGw6kb3-SZ_1EzZaIKLB66pblGIuShR8hDBfssv3GS3EPviAKGyQ
### Retrieve Image
GET http://localhost:8080/images/019cd177-02b5-73d7-9818-961bc5c96804
Authorization: Bearer {{accessToken}}
### List Images
GET http://localhost:8080/images/
Authorization: Bearer {{accessToken}}
### Upload Image
POST http://localhost:8080/images/
Authorization: Bearer {{accessToken}}
Content-Type: multipart/form-data; boundary=----Boundary
------Boundary
Content-Disposition: form-data; name="image"; filename="test.png"
Content-Type: image/png
< ./test.png
------Boundary--
### Transform Image
POST http://localhost:8080/images/019cd177-02b5-73d7-9818-961bc5c96804/transform
Authorization: Bearer {{accessToken}}
Content-Type: application/json
{
"rotate": {
"angle":180
},
"format": "png"
}