Introduction

Introduction

Welcome to the CallApi Documentation

What is CallApi?

CallApi is an extra-lightweight wrapper over fetch that provides convenient options for making HTTP requests, while keeping the API familiar to the fetch api.

It takes in a url and a request options object, just like fetch, but with some additional options to make your life easier. Check out the API Reference for a quick look at each option.

Acknowledgements

  • Credits as to ofetch by unjs for some of the ideas for the features in the library like the function-based interceptors, retries etc
  • Credits as well to zl-fetch fetch wrapper as well for the inspiration behind a few features in this library as well