Message
 
 
À
21/12/2016 13:49:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01645753
Message ID:
01645838
Vues:
56
>>>using https://west-wind.com/webconnection/docs/_0jj1abf2k.htm
>>>
>>>o = newObject('wwHTTP', 'wwHTTP.prg')
>>>? o.HTTPget('https://www.levelextreme.com/')
>>>
>>
>>Thank you!
>
>with parameters:
>
>o = newObject('wwHTTP', 'wwHTTP.prg')
>o.addPostKey('key1', 'value1')
>o.addPostKey('key2', 'value2')
>…
>? o.HTTPget('https://www.levelextreme.com/') && POST verb used because of parms added above
>
Hi Thierry,
In your line above the word POST is commented. Does it mean that the o.HTTPget should be o.HTTPpost?

Update: Yes, changing it to o.HTTPpost makes sense and it returns the key that I am looking for. Thank you, thank you!!
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir