cloud-functions-emulator
cloud-functions-emulator copied to clipboard
How to invoke HTTP function with method GET and go with querystring?
Hi,
How to invoke HTTP function with method GET and go with querystring?
Thank you
I'm not sure I understand, can you please clarify your question?
For example, if you curl your function's endpoint, GET is the default method, and you can just add the querystring to the end of the url, e.g.:
curl https://us-central1-your-project.cloudfunctions.net/helloWorld?foo=bar
or
curl http://localhost:8010/your-project/us-central1/helloWorld?foo=bar