Callback in Rest Api's

Roshan Kumar 46 Reputation points
2022-11-09T08:48:00.29+00:00

Hi,
My question - from a 3rd party, my rest api will be called and for that we need to send a response after process (which might not be sent instantly), the response might take a day or two even. (Maybe a webhook or reverse api concept not sure). Need to make sure for that specific call we are returning the response(maybe use some kind of unique identifier).
Cannot use async/await as all threads can occupied if there are a lot of calls and it cannot send a response after few days.
Found some information on this link - https://metamug.com/article/callback-api.html
Need some help for implementation.
Please let me know if something else required.

ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
294 questions
{count} votes