Setup API request and response