Knowledge Base

How to make a REST service?

Posted by:

Set Up REST

  • Create workflow
  • Properties > Enable REST
  • Set return type (must select field, map or page)
    • That sets Content Type property
  • Set return field/map/page property

Usage

  • http://example.com/{appname}/WWGREST?WWGWorkflowName=RESTSample
  • http://example.com/{appname}/WWGREST?WWGWorkflowName={workflowName}&param1=val1&param2=val2

Reference examples:

  • Map – mohammed’s shopping cart example
  • Field – tbd
  • Page – tbd
0


You must be logged in to post a comment.