Good day,
I'm trying to do a fetch in an web app to our Tax Authorities, but que XML request needs to be signed by a digital certificate, I've the certificate installed on my browser but cannot get a fetch requesting to choose the certificate, is there any way to do it?
fetch (url, {
mode: 'no-cors',
method:'POST',
credentials:'include',
headers: new Headers({
'Content-Type': 'text/xml; charset=utf-8',
'Accept': '*/*',
'Content-Length': xml.length
}),
body:xml
}).then((res) => console.log(res))
thanks
I tried also with xmlHTTPRequeste but no result