mirror of
https://github.com/strapi/strapi.git
synced 2025-08-29 03:05:55 +00:00
add a tip to prevent errors in the useFetchClient requestURL format
This commit is contained in:
parent
6b07ba03c0
commit
951b0b3b0a
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user