【发布时间】:2016-06-27 11:59:07
【问题描述】:
我需要在 VB.net 上编写这个 Curl/json 命令。我不确定如何使用 HttpWebRequest。请帮忙!!!
curl -X GET --header "Accept: /" --header "X-Auth-Token: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0NTc3NTQ1" "http://staging-exact-integration.posios.com/PosServer/rest/core/company"
【问题讨论】:
-
C#,不是 VB.net,但也许这会为您指明正确的方向:Add custom header in HttpWebRequest