- You are asked to build an API for a photo app.
- You need to create the routes according to REST for the following actions:
-
The end-user wants to see a list of photos GET /photos
-
The end-user wants to see a particular photo GET /photos/:photo_id
| function htmlValidate(str) { | |
| console.log('test') | |
| } |