Home > sncf.js > RequestManager > encodeURL
RequestManager.encodeURL() method
Encode the parameters and the url
Signature:
typescript
encodeURL(path?: string, params?: any): string;
Parameters
Parameter | Type | Description |
---|---|---|
path | string | (Optional) The path to url |
params | any | (Optional) The parameters to encode |
string