0

I want to send csv file using php POST method in C#. I'm using WebClient. I know how I can upload file. But I don't know how I can combine send file with other parameters in NameValueCollection.

I have to send few parameters and additionaly CSV file. How I can do this in C#?

Transcendent
  • 5,598
  • 4
  • 24
  • 47
GrzesiekO
  • 1,179
  • 4
  • 21
  • 34

1 Answers1

-1

There is no "PHP POST", just POST or GET (that are part of HTTP request, like many order verbs). You should consider using HttpWebRequest in order to send data via POST.

Atlasmaybe
  • 1,511
  • 11
  • 26