当前位置:网站首页>json case
json case
2022-08-09 23:15:00 【Full stack programmer webmaster】
Hello everyone, we meet again, I'm your friend Quanstack Jun.
json request example:
post_data.entrance="1111";post_data.identity= "SZHT";post_data.member_id="40";post_data.message="Test 111";post_data.skuItem="{"0":{"sku_id":"15942","cost_price":"183","sku_price":"232.00","sku_number":"3"}}"post_data.sku_source_type="0";post_data.post_data.member_id =40;$.ajax({url : "",type: "post",data: JSON.stringify(post_data),/*data:{ entrance_id:2,member_id:40,number:2,sku_id:15414 },*/dataType: "json",cache: false,processData: false,contentType: "application/json; charset=utf-8",//contentType: 'application/x-www-form-urlencoded',success: function (rsp) {debugger;if (rsp.code != 200) {console.log(rsp.msg);//return;}console.log(rsp.data);}});
Publisher: Full-stack programmer, please indicate the source: https://javaforall.cn/105809.htmlOriginal link: https://javaforall.cn
边栏推荐
猜你喜欢
随机推荐
Shanghai Konan SmartRocket series product introduction (3): SmartRocket iVerifier computer interlocking system verification tool
蔚来杯2022牛客暑期多校训练营7 CFGJ
CVPR22 Oral|通过多尺度token聚合分流自注意力,代码已开源
同步锁synchronized追本溯源
Word怎么制作一张标准的答题卡?
在VMware上安装win虚拟机
L3-2 Delete up to three characters (30 points)
STC8H开发(十五): GPIO驱动Ci24R1无线模块
mysql配置参数详解[通俗易懂]
SQLi-LABS Page-2 (Adv Injections)
leetcode:数组中的第K个最大元素
How to Make Your Company Content GDPR Compliant
PHP 2D array sorted by a field
Word怎么设置图片衬于文字下方?两种方法教你设置Word图片衬于文字下方
[Implementation of the interface for adding, deleting, checking, and modifying a double-linked list]
Photometric Stereo 光度立体法三维重建
PMP每日一练 | 考试不迷路-8.8(包含敏捷+多选)
Interpretation of the paper (DropEdge) "DropEdge: Towards Deep Graph Convolutional Networks on Node Classification"
cadence中复制一部分PCB到另一个PCB中去
线段相交的应用