오윤석

api docs

1 +# AWS Lambda API
2 +[https://9davbjzey4.execute-api.ap-northeast-2.amazonaws.com](https://9davbjzey4.execute-api.ap-northeast-2.amazonaws.com)
3 +
4 +## gif upload
5 +### request
6 +- endpoint : /
7 +- Method : POST
8 +- Content-Type : multipart/form-data
9 +- Body : gif=<file>
10 +### response
11 +- 200 : { id: <id> }
12 +- 400 : no gif
13 +- 500 : server error
14 +
15 +## gif download
16 +### request
17 +- endpoint : /
18 +- Method : GET
19 +- QueryString : id=<id>
20 +### response
21 +- 200 : Content-type:image/gif
22 +- 400 : no id
23 +- 404 : not found
24 +- 500 : server error
...\ No newline at end of file ...\ No newline at end of file