Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. HttpWebRequest

HttpWebRequest

Scheduled Pinned Locked Moved C#
tutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Moon Boy
    wrote on last edited by
    #1

    Hey! I wanna know how can i POST an IMAGE with HttpWebRequest. I know how to post fields etc, but IMAGE... :\ Any article? tutorial? Thanks.

    D 1 Reply Last reply
    0
    • M Moon Boy

      Hey! I wanna know how can i POST an IMAGE with HttpWebRequest. I know how to post fields etc, but IMAGE... :\ Any article? tutorial? Thanks.

      D Offline
      D Offline
      Daniel Turini
      wrote on last edited by
      #2

      AFAIK, you can post binary data to any page, as long as the server application knows how to read it. Simply set the Content-Length header appropriately, and send the binary data. Other way would be sending it as a text field, base64 encoded. Yes, even I am blogging now!

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups