I have a use-case to implement an asynchronous API. I may not have the data to return synchronously, but at a later point in time. What are the best practices to implement this? Do you have any insights to share?
I really don't know what you mean by "Asynchronous API", are you talking about server push to clients?
What kind of API are you implementing, a public API that people from outside can call or an internal API that only you are using?
Vasan Subramanian
Previous generation techie
restful-api-design.readthedocs.org/en/latest/meth… has some suggestions for Asynch requests, you may find this useful.