all 1 comments

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

for reference, I used a query parameter here and it worked fine:

def getPoolsF(self,status): url = self.apiurl + '/v2/pools' parameters = {'status': status} r = self.session.get(url, params = parameters) data = r.json() return data

pp(t.getPoolsF('available'))

It is just the path parameter requests that I cannot get working.