CFHTTP

 Creating an HTTP request with CFHTTP requires four steps:

  1. Generate a CFHTTP message object using the CFHTTPMessageCreateRequest function.

  2. Set the body of the message using the function CFHTTPMessageSetBody.

  3. Set the message's headers using the CFHTTPMessageSetHeaderFieldValue function.

  4. Serialize the message by calling the function CFHTTPMessageCopySerializedMessage.

posted @ 2012-02-20 11:40  Kalou  阅读(523)  评论(0编辑  收藏  举报