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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. HTTP Entity Body Format?

HTTP Entity Body Format?

Scheduled Pinned Locked Moved Web Development
c++htmlsysadminagentic-aitools
1 Posts 1 Posters 6 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.
  • B Offline
    B Offline
    Bryan Anslow
    wrote on last edited by
    #1

    I am trying to create a small, non-MFC, HTTP Client. Only problem is, I cannot find anywhere a clear explanation of the "Entity Body' when I have multiple keywords, i.e. if I wanted to send this; http://msrv:16052/bahttp/ZZZXML;script=ZZZstart?fldattr=Y,tranid=tst4,applid=cicszz53 So I setup a TCP/IP session to msrv port 16052. In my send data I code something like this; char *packet1 = "GET /bahttp/ZZZXML HTTP/1.0\r\n" "Accept: text/plain, text/html\r\n" "Accept: image/gif, image/jpeg\r\n" "Accept-Encoding: x-compress; x-zip\r\n" "Accept-Language: en\r\n" "User-Agent: MSIE/4.0\r\n" "Connection: keep-alive\r\n" "Pragma: no-cache\r\n" "Content-Type: text/plain\r\n" "Content-Length: 53\r\n" "\r\n" "script=ZZZstart?fldattr=Y,tranid=tst4,applid=cicszz53"; Problem is, the server complains that it did not receive any parameters....? So what am I missing? Bryan.

    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