How frappe before_request and after_request events work?

the above code lines, there is a “before_request” and “after_request” event. I want to modify the API of data for user logged in. Basically, issue is I was unable to get frappe.get_user().doc.name here in before_request. with after_request the API completed request.

Thanks

Hi:

Here is a really interesting video talking about framework requests …

Hope this helps.

1 Like

Thank you