http interactions

Replace stubs with real HTTP GET and POST actions.