Open in app
Kesk -*-
1K Followers
About

Sign in

1K Followers
About
Open in app
I was expecting “native” different ways to make requests in JS (if there’s any beside fetch &…
1
1

Severus Ken

Kesk -*-

Kesk -*-

Mar 11, 2020·1 min read

Yes, Axios use XMLHttpRequest under the hood and jQuery.ajax() wraps XMLHttpRequest too. The native way to do request is with Fetch or directly with XMLHttpRequest/XmlHttpRequest2.

Written by

Kesk -*-

Software engineer - software Enthusiast - Sci-Fi writer.

More from Kesk -*-

Software engineer - software Enthusiast - Sci-Fi writer.

More From Medium

9 Modern && Practical JavaScript Code Snippets

Kesk -*- in JavaScript In Plain English

“Hello, World!” in Different Programming Languages and Times

Kesk -*- in The Startup

11 Tricky JavaScript Questions

Kesk -*- in JavaScript In Plain English

How to build a reusable geolocation && reverse-geocoding Web Component

Kesk -*- in JavaScript In Plain English

13 Concepts/Tips You Should Know in JavaScript

Kesk -*- in JavaScript In Plain English

Build an Autocomplete Web Component in simple steps

Kesk -*- in JavaScript In Plain English

10 New JavaScript Native Array Methods

Kesk -*- in JavaScript In Plain English

From TypeScript to WebAssembly in few steps

Kesk -*- in JavaScript In Plain English

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store