[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help with HTTP API
- To: "FTP API Forum" <ftpapi@xxxxxxxxxxxxx>
- Subject: Help with HTTP API
- From: "Jeffreehy Talavera" <jeffreehy@xxxxxxxxx>
- Date: Fri, 24 Feb 2006 12:24:53 -0600
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Sm5y0ooSvaWpgg177NC0NU9/YvCMq1g0WLfuH7P+XXasj0WN5eKW3AgxOYzkTcyWh1q3GKJXFG65vTABCMuAlhUWC5N2vDmWqhu56NdqEe5dcZsAzDlMBdtJnN1lxsqxX/hDfMv56OMJuqkDPjlhzG/d3Tuu/lqMC8sdlHzK8u4=
- Reply-to: ftpapi@xxxxxxxxxxxxx
- Sender: owner-ftpapi@xxxxxxxxxxxxx
Hi listers,
I' using the Scott's HTTP API to consum a webservice built in .NET with a very good success, and now it is in produccion,
orking very fine, Today I was asked to try with another one, built with Genexus , but when I try to call it with the POST I got the following error:
The data at the root level is invalid. Line 1, position
here is my POST
eval rc=http_url_post(
'http://150.150.60.42'+
'/aretornarem.aspx'+
'/Execute'
: data
: size
: '/tmp/httptest.html'
: HTTP_T
: HTTP_TIMEOUT
: HTTP_USERAGENT
: 'application/x-www-form-urlencoded')
the other question is what PROC do I have to use is I need to send in the post an Integer value and not an string value, like this:
c callp http_url_encoder_addvar_s(
c Enc : 'iCustomerNumber':
c 1234)
Thanks.
Jeff Talavera