-
Sample_LongURL: [ http://ExampleDomain.com?Parameter0=Value0&Parameter1=Value1&Parameter2=Value2 ] Method_WebInterface: If I enter the 'Sample_LongURL' into the web interface, YOURLS will create a working 'ShortURL' that will, when browsed to carry over all of the URI parameters (Parameter0, Parameter1, Parameter2 ...etc) METHOD_API: However, If I use the API(yourls-api.php) like: I have also tried PlugIn(yourls-plugin-forward-query-strings-main) ==NO JOY Is anyone able to replicate this behavior? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You must encode special characters inside a GET parameter value. See #3010. Depending how you are calling the API, you might have functionality available that will handle this for you transparently. For example, in the |
Beta Was this translation helpful? Give feedback.
You must encode special characters inside a GET parameter value. See #3010.
Depending how you are calling the API, you might have functionality available that will handle this for you transparently. For example, in the
requests
library for Python, passing the API options asparams
takes care of this.