6

I'm trying to submit a multipart form through a C# and a VB.NET console application, but how do I see what it actually looks like? I've seen on some forums that you can see what it looks like through WireShark. I need to match it with the API documentation. Any help would be appreciated!

obl
  • 1,799
  • 12
  • 38

1 Answers1

0

I know it's super old but I wanted to answer in case someone else needs it.

        Dim EncodedContent As New MultipartFormDataContent
        EncodedContent.Add(New StringContent("0"), "Hello World!")
        Debug.Print(EncodedContent.ReadAsStringAsync().Result)'<Prints MultipartForm to console
CruleD
  • 1,153
  • 2
  • 7
  • 15