# Basic REST API for sending requests to the server using Axios

**Authors:** Artur Valokhin
**Published:** 28.07.2023
**Reading time:** 9 minutes

> Create a reusable API template using axios, handle requests and errors efficiently, and type your responses for safer development. See detailed examples and best practices on dev.family.

---

---

**Tags:** JavaScript

[Read on dev.family](https://dev.family/blog/article/basic-rest-api-for-sending-requests-to-the-server-using-axios)