Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send data to a Web Page
Message
 
To
25/02/2011 11:08:40
General information
Forum:
Visual FoxPro
Category:
Internet applications
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01500623
Message ID:
01501852
Views:
61
Hi Héctor,

The Web developer must provide you with the following information:

a) A target URL where you need to post requests. For example: http: // somesite . com

b) A type of HTTP requests to be used: GET or POST. As I understand the POST will be used.

c) For POST requests. In which part of the POST request to store the data. There are two options:
- request headers
- request body
Both options can be used at the same time.

If HTTP request headers are to be used for passing data, the web developer must give you the names of headers. You will be placing data in those headers. May be the names are "dato1" and "dato2" you mentioned. Ask the developer to confirm.

If HTTP request body is to be used for passing data, the web developer must provide a format for the data. Examples:
- text
- delimited text
- XML
In this case you place the data inside that Send(). Example:

cData = "Some data to be passed to my dear friend Web Developer."
oHttp.Send( cData )

* * *
If you have answers to questions b) and c), I can provide you with further instructions. Don't become frustrated. There's a community around that can give you a hand.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform