# Making HTTP requests from an integration

Source: https://dev.arcxp.com/integrations/how-to-guides/making-http-requests-with-nodejs/

Learn how to make HTTP requests in Arc XP integrations using libraries, with Axios as the recommended Promise-based HTTP client for Node.js and browsers

## Libraries

In order to make HTTP requests to other Arc XP services or third parties, you must use a library. There are many options available, but for our purposes we prefer and use [Axios](https://github.com/mzabriskie/axios). Axios is a [Promise](https://www.promisejs.org/)\-based HTTP client for the browser and Node.js.

You must install Axios and include it as a dependency. You can find an example of how to use it at [the Axios docs](https://axios-http.com/docs/example).

## Promises

Writing asynchronous code can get confusing. Using Promises is a great advantage when dealing with code that requires a more complicated chain of events. See [Async/Await: The Hero JavaScript Deserved](https://www.twilio.com/blog/2015/10/asyncawait-the-hero-javascript-deserved.html).

## More Information

> [5 Ways to Make HTTP Requests in Node.js](https://www.twilio.com/blog/2017/08/http-requests-in-node-js.html) 

---
  
Have a feature request or suggestion? Let us know on [Our Ideas Portal](https://ideas.arcxp.com/?project=IFX).
