starting to implement a service to handle http post