You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
This represents the implementation for HTTP communication, which may be the base for Github and Nextcloud support on the client side.
There are two native methods for HTTP communication in the browser:
XMLHttpRequest
fetch
fetch is the newer one and preferred over XMLHttpRequest, if the browser supports it (all recent browsers do). There is also a polyfill available.
In addition there are quite a few libraries, like axios, which use either fetch or XMLHttpRequest to provide a better experience at development at the cost of more code.
In our case, I would suggest building a thin wrapper around fetch to accomplish everything needed.
The text was updated successfully, but these errors were encountered:
This represents the implementation for HTTP communication, which may be the base for Github and Nextcloud support on the client side.
There are two native methods for HTTP communication in the browser:
XMLHttpRequest
fetch
fetch
is the newer one and preferred overXMLHttpRequest
, if the browser supports it (all recent browsers do). There is also a polyfill available.In addition there are quite a few libraries, like
axios
, which use either fetch orXMLHttpRequest
to provide a better experience at development at the cost of more code.In our case, I would suggest building a thin wrapper around
fetch
to accomplish everything needed.The text was updated successfully, but these errors were encountered: