on 2019 Dec 06 7:25 AM
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;
Request clarification before answering.
According to the published docs, that function was introduced with SQL Anywhere 11.0.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
50 | |
9 | |
8 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.