Untitled

mail@pastecode.io avatar
unknown
javascript
23 days ago
508 B
4
Indexable
Never
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);
    });
Leave a Comment