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

200 code for POST rather than 201 remains #3713

Closed
Cooker-Monster opened this issue Nov 28, 2017 · 1 comment
Closed

200 code for POST rather than 201 remains #3713

Cooker-Monster opened this issue Nov 28, 2017 · 1 comment

Comments

@Cooker-Monster
Copy link

a POST command returns a 200 code instead of 201.

It's a little bit strange because this nice Framework manages very more sofisticated and powerful features and that is the first ugly thing that we can see in the very beginning of a demo.

Please note that it's the same behaviour for 3.1.0 and 4.0.0 versions

Steps to reproduce

lb demo
cd demo
lb datasource
lb model
node.
http://localhost:3000/explorer

Link to reproduction sandbox

Expected result

201

Additional information

@jannyHou
Copy link
Contributor

jannyHou commented Dec 11, 2017

@Cooker-Monster Thank you for the suggestion, seems we have an issue for it: #360

I also created an issue in LoopBack4 for it: loopbackio/loopback-next#788
and bring the attention to my team.

I am closing this issue as a duplicate and let's keep the discussion in either story above. Thanks for understanding. And feel free to reopen it if you have other questions.

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