EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
June 16, 2024, 03:55:29 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
using GET instead of POST
Pages: [
1
]
« previous
next »
Print
Author
Topic: using GET instead of POST (Read 9920 times)
heru
Newbie
Posts: 12
using GET instead of POST
«
on:
July 16, 2012, 11:38:56 PM »
Hello all,
please tell me how to change ajax request method in datagrid, combogrid from POST to GET ?
Thankyou
heru -- indonesia
Logged
tomhj
Newbie
Posts: 40
Re: using GET instead of POST
«
Reply #1 on:
July 17, 2012, 09:23:22 AM »
set the "method" property on the datagrid for "get" instead of the default "post".
But why do you want to do that? It could cause problems with the browser caching your data so your grid gets stale data instead of fresh data from your back end?
Logged
heru
Newbie
Posts: 12
Re: using GET instead of POST
«
Reply #2 on:
July 17, 2012, 08:58:19 PM »
hi tomhj,
Thankyou for feedback, i'm using django (python ) for the server side processing.. since CSRF protection in Django is restricted POST data using csrf token...
heru
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...