-
Notifications
You must be signed in to change notification settings - Fork 6
TODO List before deployment #1
Comments
@RoiEXLab Not sure where you want comments on this stuff, so I'm just leaving them here for now. Please let me know if you'd like them moved.
Yes, the URLs are quite cluttered. 😄 They are also very brittle because of the parameter positions. And I'm not sure the positions are intuitive. If you're going to keep GETs around, I would consider just using a query string, as it makes the parameters more obvious. This API is more RPC than REST, so the URL doesn't have to look RESTful. I suspect the GET for the |
@ssoloff I thought about that, and you're right, but for now GET request make testing so much easier, going to change that though. |
@ssoloff Also the idea is to support urlencoded POST params as well as JSON encoded params, the only difference being the url params being unescaped and mapped to real "objects" While the json params are expected to be ints, floats, strings, arrays etc. (exception Date string) |
@ssoloff I put a lot of work in this repository today, which overhauled the complete code base. I'd like to hear your opinion on this. |
Famous last words. 😄
Just to be clear... you're suggesting having no web UI like MARTI does for user registration? Just a web service that could be used for registration by the TripleA client? If so, there's probably a way to work it into the dice server configuration screen on the Play by PBEM/PBF menu. Possibly have a separate Register... button that brings up a dialog that prompts for the username, sends the HTTP request, and parses the response. However, the user would still have to return to their email client to click the verification link |
Not exactly suggesting, just wanted to bring up this idea, but yes. |
Mandatory:
Optional:
error-handler.js
file was my "might finish sometime" attempt to adress this, haven't had the time./api
prefix an html page based on the JSON should be displayed instead of the raw JSONconfig.json
needs to be created manually, we should provide a setup command or something similarMath.random()
to generate our numbers, but oncrypto.randomBytes()
instead.The text was updated successfully, but these errors were encountered: