Question: IT NEEDS TO BE DONE IN PYTHON PLEASE, AND PLEASE TRY TO KEEP IT AS SIMPLE AS POSSIBLE FOR A BEGINNINGER. Objectives Learn how to

 IT NEEDS TO BE DONE IN PYTHON PLEASE, AND PLEASE TRY

IT NEEDS TO BE DONE IN PYTHON PLEASE, AND PLEASE TRY TO KEEP IT AS SIMPLE AS POSSIBLE FOR A BEGINNINGER.

Objectives Learn how to create a simple REST API Develop error handling code to handle unexpected user input Instructions Create a simple REST API using Python Flask. This API will be used to keep track of simple notes. Each note will have and ID and two properties (title and body of the note). The note should be able to be retrieved or updated using the or . The note can only be created using the <title> and deleted using the <id>. When the note is created, it must return the <id> or the new note. Every call should return the appropriate HTTP status code and message whether it was successful or not. How the notes are stored in Python is up to you, but the storage does not have to be persistent (no files or database required until assignment 4). You can use a simple array, list or dictionary. . Method URL Action GET Retrieve all notes otes/ otes/.id GET GET otes/:title PUT otes/:id Retrieve the note for the matching <id> Retrieve the note with the specified <title> Update note with the specified <id> Update note with the specified <title> Add a new note. Returns the note <id> Delete the note with the specified <id> PUT otes/-title POST otes/title DELETE otes/:id</id></id>

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!