Search code examples
csvpostman

Add csv file to HTTP POST


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.sstatic.net/Pnkii.png


Solution

  • 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

    Illustration for the steps