February 15, 20178 yr fmpxmlresult2nodeexpress This is an XSLT stylesheet to convert from FileMaker's fmpxmlresult to JSON route node for ExpressJS, no records involved. Fieldnames as parameters; use a layout to limit the amount of fields used. I used a slightly modified version of this script to generate 280 nodes in the same API. When it comes to naming of the API I always use singular for nodes that are able to manipulate data, and plural for reports that risk responding with more than 1 record. car by :id will usually have full CRUUx/CRUD implementation and return 0 or 1 items http://localhost/api/car/1234 Showing which cars are parked in a specific car park can return anything from 0 to n http://localhost/api/cars/?park=12 https://github.com/TyrfingMjolnir/fmpxmlresult2nodeexpress/ Edited February 17, 20178 yr by ggt667
Create an account or sign in to comment