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. http posting data and reading data post

http posting data and reading data post

Scheduled Pinned Locked Moved C#
sysadminquestion
9 Posts 3 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.
  • E Offline
    E Offline
    Eli Nurman
    wrote on last edited by
    #1

    hi, does any one know a good class which can post data to a http server and most important read back posted data? Thanks, i really need it urgent!

    T R 2 Replies Last reply
    0
    • E Eli Nurman

      hi, does any one know a good class which can post data to a http server and most important read back posted data? Thanks, i really need it urgent!

      T Offline
      T Offline
      tarasn
      wrote on last edited by
      #2

      I know few classes, check out System.Net.WebClient ,System.Web.HttpRequest and System.Web.HttpResponse ...

      DevIntelligence.com - My blog for .Net Developers

      1 Reply Last reply
      0
      • E Eli Nurman

        hi, does any one know a good class which can post data to a http server and most important read back posted data? Thanks, i really need it urgent!

        R Offline
        R Offline
        Ravi Bhavnani
        wrote on last edited by
        #3

        Eli Nurman wrote:

        class which can post data to a http server and most important read back posted data?

        Sure!  That's exactly why I designed this[^] class. :) /ravi

        My new year resolution: 2048 x 1536 Home | Music | Articles | Freeware ravib(at)ravib(dot)com

        E 1 Reply Last reply
        0
        • R Ravi Bhavnani

          Eli Nurman wrote:

          class which can post data to a http server and most important read back posted data?

          Sure!  That's exactly why I designed this[^] class. :) /ravi

          My new year resolution: 2048 x 1536 Home | Music | Articles | Freeware ravib(at)ravib(dot)com

          E Offline
          E Offline
          Eli Nurman
          wrote on last edited by
          #4

          Thanks, but i need a class that could read POSTED data. like if I'm sending to a page which response me with post info (credit card clearing for example) i need to read the post only. do you know any solution?

          R 1 Reply Last reply
          0
          • E Eli Nurman

            Thanks, but i need a class that could read POSTED data. like if I'm sending to a page which response me with post info (credit card clearing for example) i need to read the post only. do you know any solution?

            R Offline
            R Offline
            Ravi Bhavnani
            wrote on last edited by
            #5

            Eli Nurman wrote:

            sending to a page which response me with post info

            Do you mean the web page to which you posted data (eg: the credit card number) returns a response (eg: validation success/failure) to the client via a POST? :confused: /ravi

            My new year resolution: 2048 x 1536 Home | Music | Articles | Freeware ravib(at)ravib(dot)com

            E 1 Reply Last reply
            0
            • R Ravi Bhavnani

              Eli Nurman wrote:

              sending to a page which response me with post info

              Do you mean the web page to which you posted data (eg: the credit card number) returns a response (eg: validation success/failure) to the client via a POST? :confused: /ravi

              My new year resolution: 2048 x 1536 Home | Music | Articles | Freeware ravib(at)ravib(dot)com

              E Offline
              E Offline
              Eli Nurman
              wrote on last edited by
              #6

              yes, that is exactly it! how is it possible to read the POST sent? BTW i think all clearing companies do so (sending the transactioID etc... data)

              R 1 Reply Last reply
              0
              • E Eli Nurman

                yes, that is exactly it! how is it possible to read the POST sent? BTW i think all clearing companies do so (sending the transactioID etc... data)

                R Offline
                R Offline
                Ravi Bhavnani
                wrote on last edited by
                #7

                Hi Eli,

                Eli Nurman wrote:

                how is it possible to read the POST sent?

                The only thing I can think of is that you'd have to have a server to receive responses from the clearing house.

                Eli Nurman wrote:

                i think all clearing companies do so

                I would've thought they send back some token as part of the response, allowing you to conduct an encrypted conversation in order to process the transaction.  Much like a series of web service calls. The "POST response" story seems odd to me, but that's just my opinion. /ravi

                My new year resolution: 2048 x 1536 Home | Music | Articles | Freeware ravib(at)ravib(dot)com

                E 1 Reply Last reply
                0
                • R Ravi Bhavnani

                  Hi Eli,

                  Eli Nurman wrote:

                  how is it possible to read the POST sent?

                  The only thing I can think of is that you'd have to have a server to receive responses from the clearing house.

                  Eli Nurman wrote:

                  i think all clearing companies do so

                  I would've thought they send back some token as part of the response, allowing you to conduct an encrypted conversation in order to process the transaction.  Much like a series of web service calls. The "POST response" story seems odd to me, but that's just my opinion. /ravi

                  My new year resolution: 2048 x 1536 Home | Music | Articles | Freeware ravib(at)ravib(dot)com

                  E Offline
                  E Offline
                  Eli Nurman
                  wrote on last edited by
                  #8

                  Thanks Ravi I guess so :^) but if there is a class that allows me to read the entire data that has send including headers and post data that can be useful to, no? and then analyze the post data into a dictionary So if you know a tool that responses the entire received data from the "HTTP/1.1 200 OK" until the end of document please let me know. Thanks

                  R 1 Reply Last reply
                  0
                  • E Eli Nurman

                    Thanks Ravi I guess so :^) but if there is a class that allows me to read the entire data that has send including headers and post data that can be useful to, no? and then analyze the post data into a dictionary So if you know a tool that responses the entire received data from the "HTTP/1.1 200 OK" until the end of document please let me know. Thanks

                    R Offline
                    R Offline
                    Ravi Bhavnani
                    wrote on last edited by
                    #9

                    I think you want to use the Headers property of HttpWebResponse to get at the headers. /ravi

                    My new year resolution: 2048 x 1536 Home | Music | Articles | Freeware ravib(at)ravib(dot)com

                    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