add a tip to prevent errors in the useFetchClient requestURL format

This commit is contained in:
Simone Taeggi 2023-03-07 10:39:55 +01:00
parent 6b07ba03c0
commit 951b0b3b0a

View File

@ -39,6 +39,10 @@ const Component = () => {
}
```
:::tip
Remember to use a relative path for your requestURL, following this format `/{yourRelativePath}`
:::
## Methods
Essentially, this is an abstraction around the axios instance exposed by a hook. It provides a simple interface to handle API calls to the Strapi backend.