import axios from 'axios' ; const URL = 'https://proxy.mycryptoapi.com/mc' ; export function subscribeToMailingList ( email ) { return axios . post ( URL , { email_address : email , status : 'subscribed' , tags : [ 'app.mycrypto.com' ] } ) ; }