Posting the JSON Request

LANSA WAM

Posting the JSON Request

Post the request. If you don't provide a WAM name, it defaults to the current WAM.

In this example "wrb" is the WebRoutine JSON object returned by Webroutine "MyResponse".

wr.post({wam: "MyWam", webroutine: "MyResponse", callback: function(wrb) {

// Handle the response here

}});