Define posts and media types
Define json request / response server