A simple HTTP Cloud Function to send data to any PubSub topic in your project.
- Setup a Env Variable called
APIKEY
with the key you want to use. - Set Entry Point for function to
publish
- Simply trigger the function using POST and provide a
topic
&apikey
in the url.