REST request and response methods added