Settings
|
Sign in
|
Sign up
Bar
Post
Home
>
Bar HTTP
>
View post
Reply the post
|
View author only
There is currently
1
post.
通过HTTP POST方式向服务器提交数据时
Floor 1
巨大八爪鱼
6/9/16 18:56
必须注意如果URL路径是以一个文件夹名称结束的话,就必须在后面跟上“/”。
比如:
http://localhost/ABC/ 不能写成 http://localhost/ABC
http://localhost/folder/1/2/3/?abc=def 不能写成 http://localhost/folder/1/2/3?abc=def
否则服务器端将只能接收GET数据,POST数据则完全无法接收。
通常在浏览器中提交表单时,浏览器会自动在URL的目录名后加上“/”
Content converter:
No conversion
Mainland
Taiwan
Hong Kong
Singapore
Reply the post
Content:
User:
You are currently anonymous.
Captcha:
Unclear? Try another one.
©2010-2025 Purasbar Ver3.0 [Mobile] [
Desktop
]
Except where otherwise noted, content on
this site
is licensed under a
Creative Commons Attribution-ShareAlike 3.0 Unported license
.