Untitled
unknown
javascript
2 years ago
508 B
9
Indexable
const axios = require('axios');
const postData = {
// your JSON data here
island_url: 'https://niftyis.land/Kerplunk/ultrapalm-grandprix', //set with activeisland
};
axios.post('https://us-east1-bloom-squad.cloudfunctions.net/island-hop-notification', postData)
.then(response => {
console.log('Data posted successfully');
console.log(response.data); // Response from the server
})
.catch(error => {
console.error('Error during the POST request', error);
});Editor is loading...
Leave a Comment