This commit is contained in:
2019-09-20 20:48:30 +00:00
parent 234f0a7dbc
commit a396bfed80

View File

@@ -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; }
}
// *************************************************************************************************************
}
}