Simplified PostController

Removed references to JSON