added form to do both request and response