Skip to content

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

@mayzhou0401

Description

@mayzhou0401

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions