Ajax POST和GET我应该使用哪一个。 [英] Ajax POST and GET which one i should use.
问题描述
我有关于ajax GET方法的问题。
我使用ajax发送邮件而我使用方法GET。
when我发送了一些小数据,它的工作情况很好但是一旦我在表格中输入了这么多的信息并发送...我没有收到任何邮件。
i尝试了很多次,但它没有帮助,除非我不打那么多
然后主要发送...为什么?
我有没有改变怎么用POST?
有什么不同以及如何?
我总是很感激每一个帮助
alex
Hi,
I have problem about ajax GET method.
I use ajax to send mail and i use method GET.
when i send alittle bit data it''s work good but once i
type so much in the form and send...i don''t get any mail .
i tried many time but it did not help except i will not type so much
then main will be sent...why ?
do i haver to change methos to POST?
what is different and how ?
I always appreciate every help
alex
推荐答案
我有关于ajax GET方法的问题。
我使用ajax发送邮件,我使用方法GET。
当我发送小数据时它工作得很好但是一旦我输入了b $ b类型这么多表格和发送...我没有收到任何邮件。
i尝试了很多次,但它没有帮助,除了我不会打字这么多
然后m ain将被发送...为什么?
我是否可以将方法改为POST?
有什么不同以及如何?
我总是很感激每一个帮助
alex
Hi,
I have problem about ajax GET method.
I use ajax to send mail and i use method GET.
when i send alittle bit data it''s work good but once i
type so much in the form and send...i don''t get any mail .
i tried many time but it did not help except i will not type so much
then main will be sent...why ?
do i haver to change methos to POST?
what is different and how ?
I always appreciate every help
alex
GET限制了可以传递多少数据通过URL - 我不确定限制有多大,但肯定有一些。
POST,但是,对发送的数据量没有限制。我认为;无论哪种方式,它都比GET大得多。
改为POST并不难,听起来就像你需要的那样!
祝您好运。
GET has restrictions on how much data can be passed through the URL - i''m not sure how large the restrictions are, but there definitely is some.
POST, however, does not have restrictions on the amount of data sent.. i think; either way it''s much, much larger than GET.
To change to POST isn''t hard and sounds like what you need!
Best of luck.
请参阅此POST示例。
我非常想尝试..: - )
Thak you so much i will try..:-)
这篇关于Ajax POST和GET我应该使用哪一个。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!