This commit is contained in:
@@ -68,17 +68,12 @@ If it gets a response that the token needs to be refreshed, it either hands this
|
||||
If the access token expires after 100 days or so then they repeat this process (automatically by QBOI)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
*/
|
||||
// POST: api/Todo
|
||||
[HttpPost]
|
||||
public async Task<ActionResult<QItem>> Post(QCreds creds)
|
||||
{
|
||||
|
||||
|
||||
|
||||
var q = new QItem();
|
||||
q.Token1 = "Test token 1";
|
||||
q.Token2 = System.DateTime.Now.ToString();
|
||||
@@ -89,13 +84,14 @@ If the access token expires after 100 days or so then they repeat this process (
|
||||
|
||||
public class QCreds
|
||||
{
|
||||
|
||||
public string Login { get; set; }
|
||||
public string Password { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
// *************************************************************************************************************
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user