51vote
Article Rating
Subscribe
Notify of
guest
2 Comments
Oldest
NewestMost Voted
Inline Feedbacks
View all comments
Anncarel S
Anncarel S
3 years ago

Hello

I seem to keep getting 404 Not Found page even though I have followed every step.
I am running on Windows 10, Testlink on localhost, and using Postman.

A help would be greatly appreciated.

Thank you.

TestingDocs Support
TestingDocs Support
3 years ago

Hi Anncarel,

404 Not Found error indicates that the Testlink Rest API endpoints are not exposed on the Apache server.

Do the following configuration:
Enable Apache rewrite module.( https://www.testingdocs.com/testlink-rest-api-apache-server-configuration/ )

Check if you have .htaccess file with RewriteEngine On setting at :
\testlink\lib\api\rest\v2

Example: .htaccess file for v2 REST API call.
———————————————————–

RewriteEngine On

# Some hosts may require you to use the `RewriteBase` directive.
# If you need to use the `RewriteBase` directive, it should be the
# absolute physical path to the directory that contains this htaccess file.
#
# RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]

——————
Hope this helps.