Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?

WSETCONTENTTYPE

The WSETCONTENTTYPE subroutine sets the Content-Type header.  This is a alternative to using WSETHEADER subroutine.

COMMAND SYNTAX

CALL WSETCONTENTTYPE(CONTENTTYPE)

SYNTAX ELEMENTS

The WSETCONTENTTYPE subroutine expects a string parameter sent in.  This will set the response header Content-Type.  No validation is done for valid content types.

Click here to see a list of valid Content Types

EXAMPLE

CALL WSETCONTENTTYPE("application/json")

Was this article helpful?