mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
doc: update deprecated var usage in documentation examples (#7246)
* test(http): fix HTTPS protocol test by using local HTTPS server instead of external request * docs: update var usage in documentation examples * docs: updated var to const --------- Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
@@ -1104,7 +1104,7 @@ The server will handle it as:
|
||||
If your backend body-parser (like `body-parser` of `express.js`) supports nested objects decoding, you will get the same object on the server-side automatically
|
||||
|
||||
```js
|
||||
var app = express();
|
||||
const app = express();
|
||||
|
||||
app.use(bodyParser.urlencoded({ extended: true })); // support encoded bodies
|
||||
|
||||
|
||||
Reference in New Issue
Block a user