本文介绍了将 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 21:15