我试图调用watson个性洞察api,在环顾四周后,似乎解决方案是使.net等效于以下curl请求.我对此很陌生,想知道我是否可以获得指导或指向相关的教程.
curl -X POST -u "{username}:{password}"
--header "Content-Type: application/json"
--data-binary @profile
"https://gateway.watsonplatform.net/personality-insights/api/v3/profile?version=2016-10-20&consumption_preferences=true&raw_scores=true"
Run Code Online (Sandbox Code Playgroud)