Skip to content

Commit c2911cc

Browse files
docs: update Features section for clarity and readability (#7136)
* add contributors and documentation * docs(adapters): add JSDoc for adapters module * docs: add JSDoc comments to server.js * docs: update Features section for clarity and readability --------- Co-authored-by: Jay <[email protected]>
1 parent e1f8ae6 commit c2911cc

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,15 @@
9696

9797
## Features
9898

99-
- Make [XMLHttpRequests](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest) from the browser
100-
- Make [http](https://nodejs.org/api/http.html) requests from node.js
101-
- Supports the [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) API
102-
- Intercept request and response
103-
- Transform request and response data
104-
- Cancel requests
105-
- Automatic transforms for [JSON](https://www.json.org/json-en.html) data
106-
- 🆕 Automatic data object serialization to `multipart/form-data` and `x-www-form-urlencoded` body encodings
107-
- Client side support for protecting against [XSRF](https://en.wikipedia.org/wiki/Cross-site_request_forgery)
99+
- **Browser Requests:** Make [XMLHttpRequests](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest) directly from the browser.
100+
- **Node.js Requests:** Make [http](https://nodejs.org/api/http.html) requests from Node.js environments.
101+
- **Promise-based:** Fully supports the [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) API for easier asynchronous code.
102+
- **Interceptors:** Intercept requests and responses to add custom logic or transform data.
103+
- **Data Transformation:** Transform request and response data automatically.
104+
- **Request Cancellation:** Cancel requests using built-in mechanisms.
105+
- **Automatic JSON Handling:** Automatically serializes and parses [JSON](https://www.json.org/json-en.html) data.
106+
- **Form Serialization:** 🆕 Automatically serializes data objects to `multipart/form-data` or `x-www-form-urlencoded` formats.
107+
- **XSRF Protection:** Client-side support to protect against [Cross-Site Request Forgery](https://en.wikipedia.org/wiki/Cross-site_request_forgery).
108108

109109
## Browser Support
110110

0 commit comments

Comments
 (0)