Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send data to a Web Page
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01500623
Message ID:
01501852
Vues:
62
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform