I have created a complex link with around 20 parameters that I want to use in a link in Mailersend.com.
The link looks like:
http://example.com/?parameter1=value1¶meter2=value2¶meter3=value3… etc.
The problem is that some parameters contain special characters, spaces etc. Therefore I need to encode the URL.
Which is the best way to do this? I saw that Zapier has a “URL Encode” feature. Do I have to encode each parameter value (i.e. value1, value2, value 3 etc.) individually or can I encode the entire URL?
So a URL would look like this?
Before encoding:
http://example.com/?parameter1=value1¶meter2=value2 with a space¶meter3=value3 with special characters & and ?
After encoding:
http://example.com/?parameter1=value1¶meter2=value2 with a space¶meter3=value3 with special characters %26 and %3F
Is that correct?
Thanks for your help,
Michael
I have tried to encode the whole url incl. https:// but does not seem to work.