View Single Post
Old 10-25-2023, 03:55 AM   #3
duydl
Junior Member
duydl began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2023
Device: Kindle Paperwhite
Before I posted the thread I had tried HTTP basic but it did not work.

const base64Credentials = btoa(username + ':' + password);
fetch(fetch_link, {
method: 'GET',
headers: {
'Authorization': 'Basic ' + base64Credentials,
'Content-Type': 'application/json',
},
})
.then(response =>

I will test it again then.
Thank you for the reply.
duydl is offline   Reply With Quote