You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to run the firebase cloud HTTP function locally on my computer.
When I try to send the query data to the http function locally then it is undefined.
Hi @abdullahamin0111 thanks for filing. What version of the Firebase CLI are you using? This may be related the the new emulators that were released in the CLI starting with v6.9.0. Does this work locally for you if you downgrade your firebase-tools to 6.8.0?
I've been trying to run the firebase cloud HTTP function locally on my computer.
When I try to send the query data to the http function locally then it is undefined.
Windows 10 is being used.
The function is:
The command I used to start the emulation for functions is:
firebase serve --only functions
The url for local emulation is returned as
http://localhost:5000/..../checkHttp
Now even if I pass the url with the following
http://localhost:5000/..../checkHttp?id=123 //anything
The response is:
But when I deploy that function and use that deployed url then it works fine
for example if I run the same query on the deployed function then the result is correct:
URL: https://us-central1-..../checkHttp?id=123
Response:
The package.json is as follows
The text was updated successfully, but these errors were encountered: