Home > Backend Development > PHP Tutorial > php写的api接口怎么传递大数据

php写的api接口怎么传递大数据

WBOY
Release: 2016-06-13 13:06:05
Original
1027 people have browsed it

php写的api接口如何传递大数据
假设服务端api接口地址是1.php,客户端需要提交一个大概1m的字符串数据给1.php,然后服务端处理下后再返回(这个已经解决),关键是客户端如何提交这1m的数据,以前都是get方式通过file_get_content函数提交获得返回过来的数据(提交的数据量很小)!

------解决方案--------------------
不行的

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template