Consuming a Web Service
About This Space
This app consumes a web service and display the information in a grid
Last updated on June 14, 2022
Forked from: /alex/consuming-a-web-service/
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 chris (@chris)
- 1
- 2
1637
0
0
1315
0
0
This interactive app prompts the user for key fields to lookup a database record and displays the results
1481
0
0
1314
0
0
- 1
- 2
Be the first to comment:
Comments