-
-
Save barrycarton/ffe834af29293d47b5778cf6a08c00c2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const header = { | |
| headers: {'api-key': 'XXXXXXXXXXXXXXXXXXXX'} | |
| }; | |
| axios.post('https://api.sendinblue.com/v3/contacts', { | |
| listIds: ['4'], | |
| email: this.state.inputVal | |
| }, header).then(function(res){ | |
| console.log(res); | |
| }).catch(function(error){ | |
| console.log(error) | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment