shabiel / M-Web-Server

A YottaDB and Caché compatible HTTP server
Apache License 2.0
24 stars 19 forks source link

REST for Octo functions #54

Closed ksbhaskar closed 2 years ago

ksbhaskar commented 2 years ago

This Issue depends on https://gitlab.com/YottaDB/DBMS/YDBOcto/-/issues/864

Using the example in the URL above, a GET request to <serviceroot>/Octo/CURRUSERS(10000,19999) would return the users in zip codes 10000 through 19999 whose status is 'Current'.

shabiel commented 2 years ago

@ksbhaskar The _weburl.m file I showed you is to be taken by a different project and adapted to its needs. Your request assumes that the code will be created as part of the MWS project itself; but that's not really true. Here's an example of how to use the file: https://gitlab.com/YottaDB/UI/YDBGDEGUI/-/blob/master/r/_weburl.m.