Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js get file content from url

// create a variable called content containing the content from https://URL/file
fetch("https://URL/file").then((r)=>{r.text().then((d)=>{let CONTENT = d})})
 
PREVIOUS NEXT
Tagged: #js #file #content #url
ADD COMMENT
Topic
Name
5+7 =