JavaScript
JavaScript
Example: Http.GetUrlPath method
Demonstrates theGetUrlPath method.
Note
This example is intended for running within a Chilkat.Js embedded JavaScript engine. All Chilkat JavaScript examples require Chilkat
v11.4.0 or greater.
var success = false;
var http = new CkHttp();
var url = "https://example.com/folder/page?lang=en&sort=asc#section2";
console.log(http.GetUrlPath(url));
// Output:
// /folder/page