How to Call external APIs securely from Serverless Framework

Can anyone suggest how to call external APIs from Serverless Framework. I am using aws nodejs. In the handler.js request has headers(authorisation, accept, username, password,access-control-allow-origin), url.