mirror of
https://github.com/tenrok/axios.git
synced 2026-06-23 20:40:40 +03:00
chore(docs): fix contribution guide (#5935)
chore(docs): fix contribution guide (#5935)
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
import axios from '../index';
|
||||
import axios from '../index.js';
|
||||
|
||||
const URL = 'http://127.0.0.1:3000/api';
|
||||
const BODY = {
|
||||
@@ -17,4 +17,4 @@ axios.get(URL, { params: BODY })
|
||||
// POST
|
||||
axios.post(URL, BODY)
|
||||
.then(handleSuccess)
|
||||
.catch(handleFailure);
|
||||
.catch(handleFailure);
|
||||
|
||||
Reference in New Issue
Block a user