You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Im searching 201 status)
If I add ID of the post earlier, there is Error occured during testing "Error: Insert failed, duplicate id" - status code 500
If I do not add ID of post earlier, there is response 201 - Created, but also during test, Postman adds new POST. - status code 201
Is it standard? can I turn it off somehow?
The text was updated successfully, but these errors were encountered:
I'm not sure I completely understand the question. The first case sounds
like there's a bug in the POST code in that it should never be trying to
insert the ID. POST should create a new entity every single time, which is
what it's doing with the 201.
On Mon, Nov 27, 2023 at 6:16 AM wojtaszczyk ***@***.***> wrote:
(Im searching 201 status)
If I add ID of the post earlier, there is Error occured during testing
"Error: Insert failed, duplicate id" - status code 500
If I do not add ID of post earlier, there is response 201 - Created, but
also during test, Postman adds new POST. - status code 201
Is it standard? can I turn it off somehow?
—
Reply to this email directly, view it on GitHub
<#29>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHCVEZ67WU7KYMPHSCQ67LYGR777AVCNFSM6AAAAAA735W6O6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYTEMJUG4YTAOI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
(Im searching 201 status)
If I add ID of the post earlier, there is Error occured during testing "Error: Insert failed, duplicate id" - status code 500
If I do not add ID of post earlier, there is response 201 - Created, but also during test, Postman adds new POST. - status code 201
Is it standard? can I turn it off somehow?
The text was updated successfully, but these errors were encountered: