Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- login() {
- console.log("Hello. It's Me")
- axios.post('https://crossorigin.me/http://requestb.in/w21igbw2', {
- firstName: 'Fred',
- lastName: 'Flintstone'
- })
- .then(function (response) {
- console.log(response);
- //this.setState({ showModal: false });
- })
- .catch(function (error) {
- console.log(error);
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement