enable /api/posts to blog