type request -> response