cli API cx
This commit is contained in:
parent
a37aa4be96
commit
4b07b0fc43
7 changed files with 256 additions and 66 deletions
|
|
@ -399,9 +399,11 @@ namespace Yavsc.Authentication
|
|||
req.ContentLength = body.Length;
|
||||
req.ContentType = "application/x-www-form-urlencoded";
|
||||
var s = req.GetRequestStream();
|
||||
|
||||
s.Write(body, 0, body.Length);
|
||||
|
||||
var auth = await req.GetResponseAsync();
|
||||
|
||||
var repstream = auth.GetResponseStream();
|
||||
|
||||
var respReader = new StreamReader(repstream);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue