myapp2
About This Space
This app consumes a web service and display the information in a grid
Last updated on March 6, 2020
Public Permissions: View Open/Fork Run Comment
Consuming a Web Service Template
This template is a simple demonstration of how to consume a Web Service using Node.js. It retrieves currency exchange data and presents it in a sortable grid.
Async with No Callbacks
To simplify development, NodeRun provides pjs API to make asynchronous requests without having to code callbacks. These API reduce complexity allowing you to code business application logic in a straightforward top-down manner.
pjs API
- pjs.sendRequest() - Send a Web Services request from Node.js server-side code
- display.grid.replaceRecords() - Clear and add records to a Rich Display Grid
- pjs.defineDisplay() - Create a Rich Display object from json definition
- display.screen.execute() - Display a screen and wait for user to respond
More Spaces By TienNguyen (@tien.nguyen)
15197
0
0
15473
0
0
15755
0
0
14965
0
0
Be the first to comment:
Comments