Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

404 when I access API


#1

I access TestRail’s API with the binding for Python. When I access any ressource (e.g. with the GET request http://192.168.100.217/index.php?/api/v2/get_suite/:821) then Test Rail returns this response:

404 Not Found

Not Found

The requested URL /index.php was not found on this server.


Apache/2.2.15 (CentOS) Server at 192.168.100.217 Port 80

Do you have a hint?


#2

Hi Tommi,

Thanks for your posting! You would need to pass the suite ID without the colon and just the numeric part:

http://192.168.100.217/index.php?/api/v2/get_suite/821

Cheers,
Tobias