HttpClient未授权401

时间:2020-04-19 08:22:30

标签: c# httpclient restful-authentication woocommerce-rest-api

我需要C#HttpClient获取请求中OAuth 1.0的格式

OAuth 
**oauth_consumer_key**="123456",
**oauth_signature_method**="HMACSHA1",
**oauth_timestamp**="15872261099",
**oauth_nonce**="eqIKvpgSs7ee",
**oauth_version**="1.0",
oauth_signature="bW5dnQV1W9nMaDwTtZwEjjAQ="
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Authorization", "");

0 个答案:

没有答案