2 Replies - 263 Views - Last Post: 07 February 2012 - 11:00 AM Rate Topic: -----

#1 gacastro  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 07-February 12

how to use an http post using this code?

Posted 07 February 2012 - 10:48 AM

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—-


Is This A Good Question/Topic? 0
  • +

Replies To: how to use an http post using this code?

#2 nK0de  Icon User is offline

  • Catch me As Exception
  • member icon

Reputation: 204
  • View blog
  • Posts: 823
  • Joined: 21-December 11

Re: how to use an http post using this code?

Posted 07 February 2012 - 10:56 AM

Don't double post. Wait till someone who's familiar working with that area at least sees your other thread. And just so you know, we can read small letters.

This post has been edited by nK0de: 07 February 2012 - 10:59 AM

Was This Post Helpful? 0
  • +
  • -

#3 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10397
  • View blog
  • Posts: 38,467
  • Joined: 27-December 08

Re: how to use an http post using this code?

Posted 07 February 2012 - 11:00 AM

Duplicate thread closed.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1