# Source: https://nuxt.com/raw/docs/3.x/examples/advanced/use-custom-fetch-composable.md

# Source: https://nuxt.com/raw/docs/4.x/examples/advanced/use-custom-fetch-composable.md

# Use Custom Fetch Composable

> This example shows a convenient wrapper for the useFetch composable from nuxt. It allows you to customize the fetch request with default values and user authentication token.

<read-more to="/docs/guide/recipes/custom-usefetch">



</read-more>

<sandbox branch="main" dir="examples/advanced/use-custom-fetch-composable" file="composables/useCustomFetch.ts" repo="nuxt/examples">



</sandbox>