How to get url parametres from the url using server side code

how to get url parametres from the url

Hi @Vinay1 you can achieve using .js
Here some an example

Thanks @antzforwork but i need to do this in server side using python

@Vinay1 the params passed to any request GET or POST are acessible on the backend via

frappe.local.form_dict

example:

/api/method/my_method?group=1&param=hi

Will be acessible on the backend as

frappe.local.form_dict.group
frappe.local.form_dict.param