How do I pass a URL with multiple parameters into a URL?

前端 未结 6 1777
甜味超标
甜味超标 2020-12-08 13:33

Basically I\'m trying to pass a URL like this:

www.foobar.com/?first=1&second=12&third=5

into a URL like this:

http         


        
6条回答
  •  情话喂你
    2020-12-08 13:53

    You have to escape the & character. Turn your

    &
    

    into

    &
    

    and you should be good.

提交回复
热议问题