Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update pub sub docs with instructions that work #109

Merged
merged 1 commit into from
Nov 25, 2019

Conversation

grant
Copy link
Contributor

@grant grant commented Nov 22, 2019

Fixes user submitted documentation about using the Pub/Sub emulator.
Tested locally.
Fixes #85
R: @grayside

@grant grant self-assigned this Nov 22, 2019

Create a `mockPubsub.json` file with the following contents:
Your function will be serving at `http://localhost:8080/`, however,
it is no longer accessible via `HTTP GET` requests from the browser.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens if you send it a GET request?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You get a standard HTTP 404 response with Express' default Cannot GET ${PATH} error. I don't think this is worth additionally documenting/reading.

@grant grant merged commit 7ff4a36 into master Nov 25, 2019
@grant grant deleted the grant_docs_pubsub branch November 25, 2019 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't get local simulated events unmarshalled correctly after following the latest docs
3 participants