30

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

Nicholas K
  • 15,148
  • 7
  • 31
  • 57
Andrei
  • 329
  • 1
  • 3
  • 8

1 Answers1

57

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

Harshit Garg
  • 2,137
  • 21
  • 23