Last post Jul 14, 2020 02:33 AM by YihuiSun
Jul 13, 2020 07:04 AM|cenk1536|LINK
I have a web API, that calls 3rd party web APIs in order to get online game codes that work on a market chain. Now, I would like to integrate my web API to this local website which sells lots of stuff including online game codes. In the market chain, my
web API is being called from cashiers by using payment terminals. But on the other hand, I have to query the online website web API in order to get the online game code orders that are paid. I am planning to write a job that queries this online website web
API for every 10 minutes in order to check if there are paid orders. What are your suggestions/solutions?
Jul 14, 2020 02:33 AM|YihuiSun|LINK
I am planning to write a job that queries this online website web API for every 10 minutes in order to check if there are paid orders.
You can use Hangfire if you want to create a job for querying.Hangfire allows you to initiate method calls outside the request processing pipeline in a very simple but reliable way. These method calls are executed
in background threads and are called background jobs.For more information, please refer to this