|
Home > Archive > SQL Anywhere database > August 2005 > create procedure type http
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
create procedure type http
|
|
| Bob Piskac 2005-08-23, 11:24 am |
| We need to send an HTTP post with a content-type: text/plain. I am assuming
that it sends a content-type of application/x-www-form-urlencoded by
default. Is there a way to change the content type?
| |
| Bob Piskac 2005-08-23, 11:24 am |
| Here is our sample procedure we would like to have the content-type:
text/plain.
CREATE PROCEDURE "DBA"."sp_http_web_page"(url varchar(256), body long
varchar)
url '!url' type 'HTTP:POST'
| |
| Mark Culp 2005-08-23, 1:23 pm |
| AFAIK there is no current methods of setting any of the HTTP headers
in the HTTP RPC call - we're currently determining how we might implement
this capability for Jasper.
--
Mark Culp
SQLAnywhere Research and Development
-------------------------------------------------------------------------
** Whitepapers, TechDocs, bug fixes are all available through the **
** iAnywhere Developer Community at http://www.ianywhere.com/developer **
-------------------------------------------------------------------------
Bob Piskac wrote:
>
> Here is our sample procedure we would like to have the content-type:
> text/plain.
>
> CREATE PROCEDURE "DBA"."sp_http_web_page"(url varchar(256), body long
> varchar)
> url '!url' type 'HTTP:POST'
|
|
|
|
|