1,python 搭建http 服务器 #coding=utf-8 import BaseHTTPServer from SimpleHTTPServer import SimpleHTTPRequestHandler import json class Resquest(SimpleHTTPRequestHandler): def handler(s...
编程开发
php模拟post提交请求,调用接口
/** * 模拟post进行url请求 * @param string $url * @param string $param */ function request_post($url = '', $param = '') { if (empty($url) || empty($param)) { ...