postman模拟post上传文件

postman模拟post上传文件
图片描述

    1. 输入url.
    2. 选择Body.
    3. 选中Body中的form-data.
    4. 添加字段名为file的key, 选择类型为File.
    5. 点击选择文件添加文件.
    6. 检查Headers中的content-type. 如果有值, 则清空.
posted @ 2020-06-29 20:47  奥兰王子  阅读(12)  评论(0编辑  收藏  举报