Using QuotaGuard with Firebase Cloud Functions
You can use Firebase Cloud Functions with QuotaGuard same way as you would call any URL when using proxy.
Curl example:
curl -X POST \
-H "Content-Type:application/json" \
-x http://username:password@static.quotaguard.com:9293 \
-d '{"text":"something"} \
https://<region>-<project-id>.cloudfunctions.net/<function-name>'
Ruby example:
require 'rest-client'
RestClient.proxy = 'http://username:password@static.quotaguard.com:9293'
result = RestClient.post("https://<region>-<project-id>.cloudfunctions.net/<function-name>",
{ 'text' => 'something' },
{ 'Content-Type' => 'application/json' }))