如果我在 Postman 中运行它,我有一个 httpwebrequest 补丁方法。因为其中有一个路径参数。
https://testapi.kyoo.com/api/v3/businessportal/queues/:branchId/:queueGroupId/:queueId/:state
其中有一个参数:
:branchId :80971198-4983-45a5-a4f4-bbf486dd88d1
:queueGroupId : 8b19f885-1903-43d9-9b2f-b226ac8749e4
:queueId : f3906c41-9d95-4746-aa13-d2e39eb59c99
:state : done
我的问题是,如果我使用这个 httpwebrequest(下)
https://testapi.kyoo.com/api/v3/business-portal/queues?:branchId =80971198-4983-45a5-a4f4-bbf486dd88d1&:queueGroupId=8b19f885-1903-43d9-9b2f-b226ac8749e4&:queueId=f3906c41-9d95-4746-aa13-d2e39eb59c99&:state=done
它给了我“内部服务器错误 500”
我错过了什么?
顺便说一句,我想在 .net 中编写代码,但我不知道如何传递参数。