Sample code for 30+ languages & platforms
Lianja

Example: Http.GetUrlPath method

Demonstrates the GetUrlPath method.

Chilkat Lianja Downloads

Lianja
llSuccess = .F.

loHttp = createobject("CkHttp")
lcUrl = "https://example.com/folder/page?lang=en&sort=asc#section2"
? loHttp.GetUrlPath(lcUrl)

// Output:

// /folder/page


release loHttp