gacastro 0 Newbie Poster

Do you know how to use an http post using this code? This code is given by nowsms to use their mms sending but I don't know how to use it in my vb.net application. Here's the code:

POST / HTTP/1.0
Accept: */*
Content-type: multipart/form-data; boundary=”–boundary-border–”
Content-length: xxxxx (size of content part of post)
Authorization: username:password (base64 encoded)

—-boundary-border–
Content-Disposition: form-data; name=“PhoneNumber”

+448080148324
—-boundary-border–
Content-Disposition: form-data; name=”MMSFrom”

sender@domain (or +38484753009)
—-boundary-border–
Content-Disposition: form-data; name=”MMSSubject”

Message Subject
—-boundary-border–
Content-Disposition: form-data; name=”MMSText”

An optional text part of the message.
—-boundary-border–
Content-Disposition: form-data; name=”MMSFile”; filename=”original-filename.ext”
Content-type: Mime/Type

File data goes here
—-boundary-border—-

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.