In this NodeJS - Express - MongoDB website, I sent AJAX requests. Therefore, I can send my own requests without getting the page reloading and I handle the response manually in my browser-side code. For this, I used the fetch() function. With this function, I sent GET requests and POST requests.
nodejs
javascript
fetch
json
ajax-request
express
mongodb
dom
promise
ajax
dom-manipulation
error-handling
get-request
async-await
try-catch
http-methods
post-request
response-errors
technical-errors
-
Updated
Sep 18, 2022 - JavaScript