I have a simple webjob hosted on azure as a continuously running job.
I need to pass token value as a input , how can I achieve this using continuous web job?
static void Main(string[] args)
{
try
{
Console.WriteLine("Goto Login url" + kite.GetLoginURL());
Console.WriteLine("Enter request token: ");
string requestToken = Console.ReadLine();
I don't think it's possible using webjobs (continuos job) unless you have some web server running where you can fire requests against (e.g. sinatra, aspnet core, etc). You need to use Azure Functions with HTTP Trigger. Then you can pass the token in the querystring or in the body of the request and do what you need to do.