Last updated
Last updated
Axios has been configured in the folder resources\ts\@core\utils\axios.ts
To use Axios on a page, you need to import it and make a call. After that, you need to make calls to Axios using axios.get('path') or axios.post('path') see below implementation.
Ablepro has all dummy data in a folder resources\ts\_mockApis.
For API, api/chat/users, the following data is configured in ..\resources\ts\_mockApis\chat\index.ts
You can configure the same for post methods as well.
How does Axios API Calls work?