f12复制的URL转成postman

 curl ‘http://cim.rd.mt/lunkr/s/json?func=upload%3Aprepare&sid=BAojNDuuCBKoOdXYAnuuFbPVgfFJezkd‘
 -H ‘Cookie: Cim.uuid=860e1c9e-ad12-4bfc-a950-51a289ef649a; CoremailReferer=http%3A%2F%2Fcim.rd.mt%2Flunkr%2Flogin; Cim=3700d45615f19943c60b82264e81fc4f; [email protected]; Cim.sid=BAojNDuuCBKoOdXYAnuuFbPVgfFJezkd; Coremail.sid=BAtjNDuuDWKoOdHYAnuuGlWIPjFJezkd‘
 -H ‘Origin: http://cim.rd.mt‘
 -H ‘Accept-Encoding: gzip, deflate‘
 -H ‘Accept-Language: zh-CN,zh;q=0.8‘
 -H ‘User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36‘
 -H ‘X-CM-SERVICE: L-WEB‘ -H ‘Content-Type: text/x-json; charset=UTF-8‘ -H ‘Accept: text/x-json‘
 -H ‘Referer: http://cim.rd.mt/lunkr/‘ -H ‘X-Requested-With: XMLHttpRequest‘
 -H ‘Connection: keep-alive‘ --data-binary ‘{"composeId":"c:nf:cim","uploadCim":true,"attachId":0,"fileName":"Makefile","size":4276}‘ --compressed

时间: 2024-10-14 10:57:41

f12复制的URL转成postman的相关文章

用Python将绝对URL替换成相对URL的代码

下面的内容内容是关于用Python将绝对URL替换成相对URL的内容,应该是对码农有些用途. #!/usr/bin/env python### author : cold night# email : [email protected]# import pymongoimport refrom StringIO import StringIO conn = pymongo.Connection()db = conn.test def replace_url(): results = db['te

python将url转换成二维码

准备环境 python生成二维码,需要依赖包qrcode和PIL(二维码的实质就是一个url.) python3安装PIL:pip install PIL python2安装PIL:pip install pillow 生成二维码的方法 1.将url生成二维码的最简单的示例如下: import qrcode img=qrcode.make("www.zhuanzhuan.com") img.save("./test.png") 2.可以通过qrcode的一些配置项来

写一个JavaScript函数,把url解析成对象

请编写一个JavaScript函数parseUrl.目的是把URL参数解析为一个对象,如: var url='http://192.168.1.1/index.php?p0=0&p1=1&p2=2'; var obj=parseUrl(url);console.log(obj.p0,obj.p1,obj.p2);//输出0,1,2 1 <script> 2 var url='http://192.168.1.1/index.php?p0=0&p1=1&p2=2'

Nginx将utf8编码的url解码成\x的16进制格式导致无法匹配静态文件的问题处理

例如请求/touch/article/北京/full.html,到达nginx后变成/ /touch/article/%E5%8C%97%E4%BA%AC/full.html, Nginx静态文件配置: location ~* ^/touch/article/.*\.html$ { expires -1; root /home/htmlfile; charset UTF-8; if ( !-f $request_filename ){ proxy_pass http://client.api.c

JS正则表达式将url转成json格式

var url = location.search.substr(1); param = {}; console.log(url); url.replace(/([^?&]+)=([^?&]+)/g, function(s, v, k) { param[v] = decodeURIComponent(k); return k + '=' + v; }); console.log(param); 例如url为 https://www.baidu.com/s?ie=utf-8&f=8&

将url转化成对象

<script> var url = "baidu.com?"; //var url = window.location.search; //获取url function getUrl(url) { var obj = {}, arr = [], temp = []; arr = url.split("?")[1].split("&"); for (var i in arr) { temp = arr[i].split(&qu

yII中利用urlManager将URL改写成restful风格 这里主要涉及url显示样式

1.打开config文件夹下面的mian.php 2.修改内容 如把地址http://www.test.com/index.php?r=site/page/sid/1修改为http://www.test.com/site/page/sid/1 [php] 'urlManager'=>array( 'showScriptName'=>false,    // 这一步是将代码里链接的index.php隐藏掉. 'urlFormat'=>'path', 'rules'=>array( '

C# 将网络图片URL转成BASE64

1.通过Url获取到Image格式的文件 public static Image UrlToImage(string url) { WebClient mywebclient = new WebClient(); byte[] Bytes = mywebclient.DownloadData(url); using (MemoryStream ms = new MemoryStream(Bytes)) { Image outputImg = Image.FromStream(ms); retur

将url参数转换成json格式,然后批量给url地址拼接参数

var string_a = urlArr[1]; var string = string_a.split('&'); var res = {}; for(var i = 0;i<string.length;i++){ var str = string[i].split('='); res[str[0]]=str[1]; } var arr = []; for(var o in res){ arr.push(o); var arrLen = arr.length; } var url_1 =