Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 395 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 395 Bytes

image_getter

URLをPOSTのパラメータとして画像を取得しbase64エンコードして返すくん。 (CORS回避用)

Usage

Run server (default port is 12345 )

SECRET_KEY="hoge" go run main.go

And request

curl -X POST -d 'url=https://...&key=hoge' http://localhost:12345/

Other

You can change default port

PORT=8080 go run main.go