We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ce5aa7 commit bc49510Copy full SHA for bc49510
README.md
@@ -200,6 +200,9 @@ The response for a request contains the following information.
200
201
// `status` is the HTTP status code from the server response
202
status: 200,
203
+
204
+ // `statusText` is the HTTP status message from the server response
205
+ status: 'OK',
206
207
// `headers` the headers that the server responded with
208
headers: {},
@@ -216,6 +219,7 @@ axios.get('/user/12345')
216
219
.then(function(response) {
217
220
console.log(response.data);
218
221
console.log(response.status);
222
+ console.log(response.statusText);
223
console.log(response.headers);
224
console.log(response.config);
225
});
0 commit comments