Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/sofiane-abou-abderrahim/javascript-http-requests
- Owner: sofiane-abou-abderrahim
- Created: 2023-10-12T15:16:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-14T14:43:42.000Z (over 1 year ago)
- Last Synced: 2023-10-16T01:29:49.906Z (over 1 year ago)
- Topics: axios, error-handling, fetch-api, formdata, http-requests, javascript, javascript-library, json, promise, xmlhttprequest
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files: