问题
I have a Curl in Swagger Resp Api as curl -X POST "https://petstore.swagger.io/v2/pet/11" -H "accept: application/xml" -H "Content-Type: application/x-www-form-urlencoded" -H "Client-Id: example.demo.com" -d "name=James&status=K"
How can I pass the Client-Id
from c# code using HttpClient() request header
来源:https://stackoverflow.com/questions/54677459/need-to-pass-client-id-header-parameter-from-c-sharp-code-using-httpclient-t