This project is consisted of an API with Get requests to retrieve the blog posts and the comments and Post requests to post a post or a comment is available.
- git clone https://github.com/vtzika/blogAPI.git
- We are using the build in php server. a. cd to your project b. php -S localhost:8000
To Get all the posts: http://localhost:8000/blogpostapi/posts/format/json