created a basic post service