cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP_BODY in Sybase 10

Baron
Participant
0 Kudos
1,203

Hi, I am creating a Webservice in SQL-Anywhere 10 and I want to let this service be called with POST method, and pass the parameters within the body of the HTTP request.

I get an error message when I use the HTTP_BODY function Procedure 'HTTP_BODY' not found, whereas the function HTTP_HEADER does work in the same version of DB.

Is this a version problem, or missusing of the function?

CREATE PROCEDURE "Mytest" ()

RESULT (UpdResult VARCHAR)

begin

declare exbody varchar(500);

set exbody = HTTP_BODY('');

insert into mytesttable values (exbody);

select 'finished successfully';

end;

Accepted Solutions (1)

Accepted Solutions (1)

VolkerBarth
Contributor

According to the published docs, that function was introduced with SQL Anywhere 11.0.

Baron
Participant
0 Kudos

Isnt there another alternative / workaround to extract the body of a HTTP Request in Version 10?

Answers (0)