Example: how to send basic auth using fetch fetch(url, { ...options, headers: { 'Authorization': 'Basic ' + btoa(`${username}:${password}`) } ...
確定! 回上一頁