Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 403 Bytes

File metadata and controls

21 lines (19 loc) · 403 Bytes

Example HTTP Requests

Example 1. Import a global function
curl request
curl -X POST -d @./my_function.json \
  "http://$ADMIN:$PASSWORD@$HOST:8096/api/v1/functions/my_function"
Example 2. Import a scoped function
curl request
curl -X POST -d @./my_function.json \
  "http://$USER:$PASSWORD@$HOST:8096/api/v1/functions/my_function?bucket=bulk&scope=data"