Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Following the sh script of test and meets the 'authentication error' #8

Open
mayzhou0401 opened this issue Mar 8, 2023 · 0 comments

Comments

@mayzhou0401
Copy link

Hi
My testlink server version is 1.9.19.
I am using 'rest-api/v2/curl/keywords/createKeyword.sh' and testing my testlink restful API, but I get the 'authentication error'.
The following is what I am trying:
curl -X POST -u {myUsername}:{myPassword} -H "Content-Type: application/json" http://{server_ip}/lib/api/rest/v2/testplans/{plan_id}
Then I try to change {myPassword} to APIKEY, but also return 'authentication error'.
Can you please help? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant