Using CURL with Header
Posted: Thu Sep 06, 2007 1:33 am
Hi,
May i know is there any method i could use to send out a HTTP POST request with header and body data to the remote server using CURL? My HTTP header is like below:
HTTP Body likes below:
Please help, Thanks
May i know is there any method i could use to send out a HTTP POST request with header and body data to the remote server using CURL? My HTTP header is like below:
Code: Select all
POST /messaging.mobileway.com/yuuzoo_tes42477/yuuzoo_tes42477.sms HTTP/1.1
HOST: messaging.mobileway.com
Authorization: Basic password12345
Content-Length: 160Code: Select all
Version=2.0
Subject=Test
[MSISDN]
List=+6593880590,+6591165669
[MESSAGE]
Text=TEST FROM DOS NUMBER
[SETUP]
OriginatingAddr=Yuuzoo
[END]