1

when i execute axios post ,i am getting below error ,but when i add axios get , below registration process run without any issue. Any help would be highly appreciated.

LOG [ReferenceError: Property 'btoa' doesn't exist]

axios.post('https://........', {
  auth: {
    username: 'james',
    password: '123456'
  }

  }).then(function(response) {
      console.log(response);
}).catch(function(error) {
console.log(error);
});
James
  • 318
  • 1
  • 10
  • https://github.com/axios/axios/issues/2235 – Konrad Jul 29 '23 at 06:26
  • Thanks @Konrad i have downgraded axios version to 0.18 and every thing works fine . May i ask why btoa does not exist any more in latest version and is it really best option to downgrade like i do – James Jul 29 '23 at 21:34
  • please bro ask to my question https://stackoverflow.com/questions/76811800/how-to-make-rendering-video-in-pjsua2 – azizconi1 Aug 01 '23 at 13:09

0 Answers0