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
When using query parameters, various characters need to be 'percent-encoded'. This can be done manually when the parameters are known, but when constructing the URL from unknown inputs, a method must be used to do the encoding. urllib.urlencode provides encoding functionality.
The text was updated successfully, but these errors were encountered:
Yes, you're right. Care to submit a pull request ? Perhaps something similar to the JSON keywords (i. e. creating/parsing query-string <-> robot framework dictionaries) ?
I will submit a pull request, but I want to get a new release of SudsLibrary done first. How does this look:
build_url(path, *key_value_pairs) where key_value_pairs can also be a dict. This makes the keyword easier to use for simple use cases.
${url}= Build Url /foo type checking account
# or
${param dict}= Create Dictionary type checking account
${url}= Build Url /foo ${param dict}
${url} would have value u'/foo?type=checking%20account'
URL here is not really a URL, but the part of the URL that you referred to as URL in other keywords such as POST.
When using query parameters, various characters need to be 'percent-encoded'. This can be done manually when the parameters are known, but when constructing the URL from unknown inputs, a method must be used to do the encoding. urllib.urlencode provides encoding functionality.
The text was updated successfully, but these errors were encountered: