Adding /api/post GET and POST