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

Develop POST endpoint to add new entries #3

Open
PedroCavalheiro opened this issue Apr 16, 2024 · 0 comments
Open

Develop POST endpoint to add new entries #3

PedroCavalheiro opened this issue Apr 16, 2024 · 0 comments

Comments

@PedroCavalheiro
Copy link
Contributor

Create an API endpoint to add new entries to our in-memory data store. This should accept JSON data from the request body.

Acceptance Criteria:

  • The endpoint is accessible at POST /api/items.
  • Data sent to the endpoint is stored in the in-memory data structure.
  • The server responds with the added item.
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