Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Parsing the URL string using the WHATWG API

const myURL =
  new URL('https://user:pass@sub.example.com:8080/p/a/t/h?query=string#hash');
Source by nodejs.org #
 
PREVIOUS NEXT
Tagged: #Parsing #URL #string #WHATWG #API
ADD COMMENT
Topic
Name
6+8 =