关于您2018-05-28回复的一段:ASP如何利用Multipartfile上传文件?
原文:https://bbs.csdn.net/topics/392385254
请问,怎么传参数?
刚学的ASP,在POTMAN调试成功了,怎么写成ASP,请指导,愿意付费学习,谢谢
对方提供了一个接口,需要发图片+头+4个参数过去
以下是POSTMAN导出来的文件:
{
"info": {
"_postman_id": "a7314931-72e6-4f41-84ff-bd8dcfa47c35",
"name": "1",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "1",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "POST",
"header": [
{
"key": "X-KSP-Token",
"value": "12345678",
"type": "text"
}
],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "picFile",
"type": "file",
"src": "/E:/ZhangZhiServer/1/1.jpg"
},
{
"key": "ksp_courtCode",
"value": "1",
"type": "text"
},
{
"key": "ksp_courtName",
"value": "1",
"type": "text"
},
{
"key": "ksp_name",
"value": "1",
"type": "text"
},
{
"key": "ksp_serviceld",
"value": "63",
"type": "text"
}
]
},
"url": {
"raw": "http://192.168.1.1/sss/sss",
"protocol": "http",
"host": [
"192",
"1",
"5",
"30"
],
"port": "8080",
"path": [
"kdxfgfyxgs",
"ocr",
"guidance",
"cosmo-guidance",
"pic",
"ocr",
"file-x"
],
"query": [
{
"key": "",
"value": null,
"disabled": true
}
]
}
},
"response": []
}
]
}