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

Get and post errors #2

Open
mike-thompson-h opened this issue Feb 23, 2021 · 1 comment
Open

Get and post errors #2

mike-thompson-h opened this issue Feb 23, 2021 · 1 comment

Comments

@mike-thompson-h
Copy link

Hi

I have been trying to follow the Pluralsight tutorial on this, but I am getting 500 errors when trying to use the GET and POST functions for this example. Please see screenshots attached of the request, code and error. Please advise
Capture2
Capture

@edgarpettijohn
Copy link

your functions should all be (req, res). You have the .get and .post backwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants