mirror of
https://github.com/syumai/workers.git
synced 2025-03-10 17:29:11 +00:00
fix r2-image-server docs
This commit is contained in:
parent
fd68e38ca7
commit
b3dae236a3
@ -7,12 +7,12 @@
|
|||||||
|
|
||||||
### Endpoints
|
### Endpoints
|
||||||
|
|
||||||
* **GET `/images/{key}`**
|
* **GET `/{key}`**
|
||||||
- Get an image object at the `key` and returns it.
|
- Get an image object at the `key` and returns it.
|
||||||
* **POST `/images/{key}`**
|
* **POST `/{key}`**
|
||||||
- Create an image object at the `key` and uploads image.
|
- Create an image object at the `key` and uploads image.
|
||||||
- Request body must be binary and request header must have `Content-Type`.
|
- Request body must be binary and request header must have `Content-Type`.
|
||||||
* **DELETE `/images/{key}`**
|
* **DELETE `/{key}`**
|
||||||
- Delete an image object at the `key`.
|
- Delete an image object at the `key`.
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
Loading…
x
Reference in New Issue
Block a user