Consuming RESTful Services in DataFlex: Difference between revisions
From DataFlex Wiki
Jump to navigationJump to search
m (Typo) |
m (Code heading) |
||
Line 10: | Line 10: | ||
*File --> New --> View / Report --> Data Entry View | *File --> New --> View / Report --> Data Entry View | ||
*Name the | *Name the file: "'''RESTTest'''" | ||
*Double click on the view to switch to the code editor | *Double click on the view to switch to the code editor | ||
*Select all (Ctrl-A), then paste in the code below, overwriting what is there | *Select all (Ctrl-A), then paste in the code below, overwriting what is there | ||
Line 16: | Line 16: | ||
*In the program, do View --> RESTTest to open the view and see it in action (just click the "Send" button with the defaults for a first look to check that all is working properly). | *In the program, do View --> RESTTest to open the view and see it in action (just click the "Send" button with the defaults for a first look to check that all is working properly). | ||
'''RESTTest.vw''': | |||
<source lang="vdf"> | <source lang="vdf"> | ||
Use Windows.pkg | Use Windows.pkg |