RESTful GET API is implemented for posts