request.get_data() vs request.get_json()
up vote
0
down vote
favorite
I am using Flask now. I was trying to get data sent from jquery ajax. I have read the tutorial but still mix up the use of this two function(I am just getting started with ajax). I would like to know what kind of data they process and return.
Your help will be greatly appreciated.
json ajax flask
add a comment |
up vote
0
down vote
favorite
I am using Flask now. I was trying to get data sent from jquery ajax. I have read the tutorial but still mix up the use of this two function(I am just getting started with ajax). I would like to know what kind of data they process and return.
Your help will be greatly appreciated.
json ajax flask
stackoverflow.com/questions/10434599/…
– roy
Nov 10 at 6:33
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am using Flask now. I was trying to get data sent from jquery ajax. I have read the tutorial but still mix up the use of this two function(I am just getting started with ajax). I would like to know what kind of data they process and return.
Your help will be greatly appreciated.
json ajax flask
I am using Flask now. I was trying to get data sent from jquery ajax. I have read the tutorial but still mix up the use of this two function(I am just getting started with ajax). I would like to know what kind of data they process and return.
Your help will be greatly appreciated.
json ajax flask
json ajax flask
asked Nov 10 at 0:15
Ziqi
91
91
stackoverflow.com/questions/10434599/…
– roy
Nov 10 at 6:33
add a comment |
stackoverflow.com/questions/10434599/…
– roy
Nov 10 at 6:33
stackoverflow.com/questions/10434599/…
– roy
Nov 10 at 6:33
stackoverflow.com/questions/10434599/…
– roy
Nov 10 at 6:33
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53234885%2frequest-get-data-vs-request-get-json%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
stackoverflow.com/questions/10434599/…
– roy
Nov 10 at 6:33