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

Response in not as attached in the documentation #125

Open
rachnav26 opened this issue Jan 3, 2024 · 0 comments
Open

Response in not as attached in the documentation #125

rachnav26 opened this issue Jan 3, 2024 · 0 comments

Comments

@rachnav26
Copy link

For below Post method, the response is returning only one id which is id = 21.
method: "POST",
body: JSON.stringify({
title: "test product",
price: 13.5,
description: "lorem ipsum set",
image: "https://i.pravatar.cc",
category: "electronic",
}

Expected response:
/* will return
{
id:31,
title:'...',
price:'...',
category:'...',
description:'...',
image:'...'
}
*/

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

1 participant