Answers for "Set Custom User Agent react"

1

Set Custom User Agent react

let headers = new Headers({
    "Accept"       : "application/json",
    "Content-Type" : "application/json",
    "User-Agent"   : "MY-UA-STRING"
});

fetch(url, {
    method  : 'GET', 
    headers : headers 
    // ... etc
}).then( ...
Posted by: Guest on September-29-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language