How to listen a django web api from celery task?
I created a project using Django, Celery, and celery beat for scheduling tasks. I created a task using celery.
@shared_task(bind=True) def my_task(self): # How can I listen if a post API is requested from here? return "Task Successful"
I want this task to listen to a web API if it is requested. Is it possible?