Closed Ananto30 closed 2 years ago
As we are parsing url and save its data, we need to show that information in the response and replace the existing format.
/api/post
/api/post/user/:username
/api/post/:id
Cool, thanks could you assign this to me?
Sure! It's yours 🚀
already made a pull request, kindly review thanks 🚀
Context
As we are parsing url and save its data, we need to show that information in the response and replace the existing format.
Task
/api/post
GET and/api/post/user/:username
GET should return the following fields -/api/post/:id
should return the following fields