简体   繁体   English

用于邮递员休息客户端的 HP QC REST API

[英]HP QC REST API for postman rest client

I tried to connect HP QC using postman rest client我尝试使用 postman rest 客户端连接 HP QC

The followig URL(Example)以下网址(示例)

http://qc-server.com/qcbin/rest/domains/DEFAULT_773497139/projects/773497139_DEMO/defects?username=username@gmail.com&password=mypassword http://qc-server.com/qcbin/rest/domains/DEFAULT_773497139/projects/773497139_DEMO/defects?username=username@gmail.com&password=mypassword

It throws error as follows它抛出错误如下

**Authentication failed. Browser based integrations - to login append '?login-form-required=y' to the url you tried to access.**

when i tried adding the parameter login-form-required=y it goes back to login page how to store session and fetch data through rest api using postman rest client.当我尝试添加参数 login-form-required=y 时,它会返回登录页面如何使用 postman rest 客户端通过 rest api 存储会话和获取数据。

Choose Authorization type as BASIC and Enter credential and Click Update Request.选择授权类型为 BASIC 并输入凭据并单击更新请求。

Postman snap:邮递员快照:

邮递员快照

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM