I try to configure Webdev with Authentication. I build a front-end web application with React and try to reach my Webdev module. If I don’t use Authentication all works great, but with Authentication I don’t reach my module, I always received an 401 http error.
I have tried with fetch() and axios(). Below a code i’ve tried.
const token = window.btoa(
let auth = 'Basic ’ + token
let h = new Headers();
const API = apiBaseUrl+“get_buffer?m”
Hope that anybody can help me to fix that!