Open bakiwebdev opened 1 year ago
Get all blogs
Method: GET URL: http://localhost:3000/api/blog
Get blog by ID
Method: GET URL: http://localhost:3000/api/blog?id=<blog-id>
Filter blogs by tag
Method: GET URL: http://localhost:3000/api/blog?tag=<tag-name>
Filter blogs by publisher
Method: GET URL: http://localhost:3000/api/blog?publisher=<publisher-name>
Create a new blog
Method: POST URL: http://localhost:3000/api/blog Body: Raw JSON (application/json)
will start creating the ui as soon as this is merged
Get all blogs
Get blog by ID
Filter blogs by tag
Filter blogs by publisher
Create a new blog