找到73个回复 (用户: ech2o)
@梦浪的小虾米, &_=1513255618822&callback=jsonpCBKC&g_tk=290916568&g_ty=ls 这些跨域参数根本没必要
🎖
会了就会了,注意措辞,你家饭碗就只这么点钱? 🎖
@net909,二维码网址跳转没写,很鸡肋。还有并发问题,常常会导致 A 访问到 B 的网址, B 访问到 C 的网址
还不如直接自己生成网址二维码然后上传到 jd
🎖
@堂妹妹的,@无期徒刑,不是我自己写的 ,postman 自动生成的
var form = new FormData(); form.append("Content-Disposition: form-data; name=\"pic_path\"; filename=\"下载.png\"\nContent-Type: image/png", "微信图片_20180619134812.jpg"); var settings = { "async": true, "crossDomain": true, "url": "http://pic.sogou.com/pic/upload_pic.jsp", "method": "POST", "headers": { "cache-control": "no-cache", "postman-token": "9974fe80-7e2e-21b3-6a90-cb90943f43a5" }, "processData": false, "contentType": false, "mimeType": "multipart/form-data", "data": form } $.ajax(settings).done(function (response) { console.log(response); });
<?php $request = new HttpRequest(); $request->setUrl('http://pic.sogou.com/pic/upload_pic.jsp'); $request->setMethod(HTTP_METH_POST); $request->setHeaders(array( 'postman-token' => 'f586f153-4b94-f4f0-c6e9-b7183a3feb2b', 'cache-control' => 'no-cache', 'content-type' => 'multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' )); $request->setBody('------WebKitFormBoundary7MA4YWxkTrZu0gW Content-Disposition: form-data; name="Content-Disposition: form-data; name="pic_path"; filename="下载.png" Content-Type: image/png"; filename="下载.png" Content-Type: image/png ------WebKitFormBoundary7MA4YWxkTrZu0gW--'); try { $response = $request->send(); echo $response->getBody(); } catch (HttpException $ex) { echo $ex; }
🎖
你这排版倒还挺清新脱俗的
🎖
作为开发者你是如何忍受国产二开的套壳浏览器的? 🎖
目测非法的建议滴几滴莎普爱思
🎖