Could you please tell me what kind of factors will affect the response time of Web API, it seems my Magento 2 get slower over the past few months than before.
And also want to know why the Magento 2 gets below api need to take a longer time than other endpoints:
https://[store domain]/[website name]/index.php/rest/[store name]/V1/categories/
kindly follow these steps while developing:
I think many factors can affect your web API response time. I would suggest that check all the errors in your API. If found any, solve that.
The category data you are loading might be above the server capacity. Check out that too.
Try to pass few data and check out the response time.
Hope this will work for you.
Click KUDOS and accept as a solution.