I am trying to profile a REST API endpoint (/oauth/token) for performance issue. I want to see what database queries are executed during that API request.

Can I get it using webprofiler with the Devel module?

  • The problem was due to cron not running and the tokens getting filled up in the table. As soon as the cron ran, issue was fixed. But it will be good if we had some way to profile rest api requests. – Zuhair May 17 at 15:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.