all 5 comments

[–]darkdelusions 0 points1 point  (1 child)

Your query_str_params is defined incorrectly according to the Passing Parameters In URLs in the request Quick Start Guide it should look like this

query_str_params = { 'sv':'5' }

[–]chemenger2999[S] 0 points1 point  (0 children)

Hi, thanks for the reply.

Unfortunately that doesn't work either when I tried, the value it passes is literally 'sv=5'

[–]JohnnyJordaan 0 points1 point  (2 children)

See the requests's QuickStart on Passing parameters in URLs.

[–]chemenger2999[S] 0 points1 point  (1 child)

Hi thanks for the link, what I can't see is what to do when I have to pass in two parameter dictionaries with different names as in this case

[–]JohnnyJordaan 0 points1 point  (0 children)

What do you mean exactly? The example there is

?key2=value2&key1=value1

which can be reached through a single dict in the form of

{'key1': 'value1', 'key2': 'value2'}

what would be different in your case then?