Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Parsing the URL string using the Legacy API

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