WELCOME TO Zumasys' NEW DOCUMENTATION SITE! MANY ANSWERS TO YOUR QUESTIONS CAN BE FOUND BY SEARCHING THE KNOWLEDGEBASE BELOW. IF YOU ARE UNABLE TO FIND THE INFORMATION YOU ARE LOOKING FOR, OUR SUPPORT TEAM 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

Parameter Description
CONTENTTYPE Pass in what you want the content type to be. This will set the header Content-Type.


EXAMPLE

CALL WSETCONTENTTYPE("application/json")

NOTES

Click here to see a list of valid Content Types.

Was this article helpful?