Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sofiane-abou-abderrahim/javascript-http-requests

I built this little JavaScript demo app to practice http requests. Indeed, I used two alternatives: XMLHttpRequest and the fetch() API. I was able to add data, promisify XMLHttpRequest and handle errors. I also used two data structures: JSON and FormData. The goal of this demo was to send data http requests from client side JavaScript to a server.
https://github.com/sofiane-abou-abderrahim/javascript-http-requests

axios error-handling fetch-api formdata http-requests javascript javascript-library json promise xmlhttprequest

Last synced: 1 day ago
JSON representation

I built this little JavaScript demo app to practice http requests. Indeed, I used two alternatives: XMLHttpRequest and the fetch() API. I was able to add data, promisify XMLHttpRequest and handle errors. I also used two data structures: JSON and FormData. The goal of this demo was to send data http requests from client side JavaScript to a server.

Awesome Lists containing this project