add php action handler
first draft of http post
correct formatting
move post stuff into separate service