Axios Setup
Last updated
Last updated
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:-
In this file, you will find the Axios setup, the content of the file looks like this:-
Here, you can define your base path Url and add more headers if required.