Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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( ...
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Set #Custom #User #Agent #react
ADD COMMENT
Topic
Name
9+3 =