> For the complete documentation index, see [llms.txt](https://docs.cremawork.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cremawork.com/v1.0/axios-setup.md).

# Axios Setup

In Crema, the Axios library has been used for API calls. You need to do the following settings for using it:-‌

Go to ApiConfig.js file, you can find this file at the path:-

```
src/@crema/services/ApiConfig.js
```

&#x20;In this file, you will find the Axios setup, the content of the file looks like this:-

![](/files/-M3ZyXJ0NxaNaDv-SBUP)

Here, you can define your base path Url and add more headers if required.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cremawork.com/v1.0/axios-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
