Skip to main content

Custom Axios Instance

If you want to add authentication, CSRF prevention, custom headers, caching or special treatment of network requests, you can provide your own Axios Instance to the form engine. If you don't provide one, the form engine will use its own.

You can create an axios instance and pass it to the form engine:

<Form {...formProps} axiosInstance={axiosInstance} />