将csv文件添加到HTTP POST [英] Add csv file to HTTP POST

查看:77
本文介绍了将csv文件添加到HTTP POST的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想发送一个邮递员HTTP POST.在此请求中,对于键"fisier",我想附加一个csv文件.该怎么做?

I want to send a postman HTTP POST. In this request, for key 'fisier', I like to attach a csv file. How this can be done?

https://i.stack.imgur.com/Pnkii.png

解决方案

This can be done using

  1. Select the POST method and type the url

  2. In the Body menu header, click on form-data check-box

  3. In the key-value form that comes,

    3.1 add the key as fisier

    3.2 Choose the type as File from the dropdown near the key

    3.3 A file chooser button opens, click it, borwse the file and upload it

    3.4 Click on Send method to send the request

这篇关于将csv文件添加到HTTP POST的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆