A Simple RESTful Service: Difference between revisions

From DataFlex Wiki
Jump to navigationJump to search
m
Bold code headings
m (Link)
m (Bold code headings)
Line 5: Line 5:
'''Warning''': This sample code exposes your customer table to the world (or, if using one of the security options below, to anybody who has valid credentials) - they can abuse that as they choose. It is probably not an approach you would want to take in a real-world environment without considerable enhancement! (Details on the [[Talk:A_Simple_RESTful_Service|discussion page]].)
'''Warning''': This sample code exposes your customer table to the world (or, if using one of the security options below, to anybody who has valid credentials) - they can abuse that as they choose. It is probably not an approach you would want to take in a real-world environment without considerable enhancement! (Details on the [[Talk:A_Simple_RESTful_Service|discussion page]].)


CustomerService.wo:
'''CustomerService.wo''':
<source lang="vdf">
<source lang="vdf">
Use cWebHttpHandler.pkg
Use cWebHttpHandler.pkg

Navigation menu