We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
week-06-yummy/server/app.js
Line 9 in d3e1c78
I see you used form to send data to the server and to parse it you used : app.use(express.urlencoded({ extended: false })); , that's right 👍
app.use(express.urlencoded({ extended: false }));
but, there is no need for : app.use(express.json());
app.use(express.json());
you need it when using fetch to send json object to server
fetch
json object
The text was updated successfully, but these errors were encountered:
No branches or pull requests
week-06-yummy/server/app.js
Line 9 in d3e1c78
I see you used form to send data to the server and to parse it you used :
app.use(express.urlencoded({ extended: false }));
, that's right 👍but, there is no need for :
app.use(express.json());
you need it when using
fetch
to sendjson object
to serverThe text was updated successfully, but these errors were encountered: