Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding second then on axios call in the readme #1623

Merged
merged 1 commit into from Jul 2, 2018

Conversation

@guillaumebriday
Copy link
Contributor

commented Jun 22, 2018

Inspired by this issue : #792 (comment)

Adding this kind of example in the readme :

axios.post('/api/foo', {
    foo: 'bar'
}).then((response) => {
    // success
}).catch((error) => {
    // error
}).then(() => {
    // always executed
});
Adding second then on axios call
Inspired by this issue : #792 (comment)

@guillaumebriday guillaumebriday changed the title Adding second then on axios call Adding second then on axios call in the readme Jun 22, 2018

@JustinBeckwith JustinBeckwith merged commit d74238e into axios:master Jul 2, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.