Untitled

 avatar
unknown
javascript
a year ago
508 B
6
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