set dynamic request method on api proxy