how properly to make a get request with no params names? the api request must be like:
url + '/smth/val1/val2'
usually do like so
payload = {p1:val1, p2:val2}
response = requests.get(url + '/smth', params=payload)
however, in that case I wrote the code:
requests.get(url + '/smth/{}/{}'.format(val1, val2))
is there any way to do it by using params key word?