I keep running into an issue when trying to get the API working through python 2.7. I have used the exact example code outlined in the API doc, but constantly get a “308 Permanent Redirect” returned from urllib2.urlopen(request),read() when attempting to do anything.
Ive added printouts before this command to check the url, uri, and headers. Everything in the request object seems to be okay.
When I use the exact same login and url/uri via terminal using the example curl command in the api doc, the API is responding fine so it doesn’t seem to be a Testrail issue.
Has anyone else ran into this issue? I can provide code segments if it helps but like I said, I’ve got it copied exactly from the example other than entering my own server, user, and password.