You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
amazon: http://docs.developer.amazonservices.com/en_US/dev_guide/DG_QueryString.html
Signature query string:
Percent encode the space character as %20. Do not percent encode the space character as +, as some common encoding schemes do.
url.QueryEscape will encode the space to "+", not "%20".
so you need to use url.PathEscape() first .
such as : apiParams = append(apiParams, key+"="+url.QueryEscape(url.PathEscape(str)))
The text was updated successfully, but these errors were encountered:
amazon:
http://docs.developer.amazonservices.com/en_US/dev_guide/DG_QueryString.html
Signature query string:
Percent encode the space character as %20. Do not percent encode the space character as +, as some common encoding schemes do.
url.QueryEscape will encode the space to "+", not "%20".
so you need to use url.PathEscape() first .
such as : apiParams = append(apiParams, key+"="+url.QueryEscape(url.PathEscape(str)))
The text was updated successfully, but these errors were encountered: