Menu
Let’s say I have a URL that takes some parameters for a GET request, one of which is a url:
let urlWithQuery = “http://example.com/process?type=1&target=”
And I would like to add another url as the value of the target parameter:
let targetUrl = “http://otherExample.com/page1?order=asc”, how can I achieve this without breaking the resulting url?