Skip to content

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

Merged
grant merged 1 commit intomasterfrom
grant_docs_pubsub
Nov 25, 2019
Merged

docs: update pub sub docs with instructions that work#109
grant merged 1 commit intomasterfrom
grant_docs_pubsub

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

Comments