Skip to content

Latest commit

History

History
41 lines (35 loc) 路 737 Bytes

test.rest

File metadata and controls

41 lines (35 loc) 路 737 Bytes

### # 1 GET All Quotes # STATUS TESTED 鉁旓笍 GET http://localhost:4000/api/quotes Content-Type: application/json

### # 2 GET Quote # STATUS TESTED 鉁旓笍 GET http://localhost:4000/api/quotes/1 Content-Type: application/json

### # 3 Add Quote # STATUS TESTED 鉁旓笍 POST http://localhost:4000/api/quotes Content-Type: application/json

{

"quote": "Whatsup Batman", "quoteID": "2", "author": "Batwoman"

}

### # 4 Update Quote API # STATUS TESTED 鉁旓笍 PUT http://localhost:4000/api/quotes/1 Content-Type: application/json

{

"quote": "Master Wayne", "quoteID": "1", "author": "Wayne"

}

### # 5 Delete Quote API # STATUS TESTED 鉁旓笍 DELETE http://localhost:4000/api/quotes/1 Content-Type: application/json