Skip to content

omerzamir/api-gateway

Repository files navigation

api-gateway

Go Report Card GoDoc

Perform a simple media upload

curl -X POST http://localhost:8080/api/upload?uploadType=media --data-binary "@/path/to/file" -H "Authorization: Bearer <jwt_token>" -H "Content-Type: <file_mime_type>" -H "Content-Disposition: filename=<file_name>"

Perform a simple multipart upload

curl -X POST http://localhost:8080/api/upload?uploadType=multipart -H "Authorization: Bearer <jwt_token>" -H "Content-Type: multipart/form-data" -F "file=@/path/to/file"

Releases

No releases published

Packages

No packages published

Languages