Improved routes
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
/// http://localhost:5052/TurnkeyRest/Get?command=ViewOneThing&id=11!1 old | /// http://localhost:5052/TurnkeyRest/Get?command=ViewOneThing&id=11!1 old | ||
/// http://localhost:5052/Rest/ViewOneThing/Get?id=11!1 improved | /// http://localhost:5052/Rest/ViewOneThing/Get?id=11!1 improved | ||
/// http://localhost:5052/Rest/ViewOneThing/Get/11!1 also improved</pre>Routes | /// http://localhost:5052/Rest/ViewOneThing/Get/11!1 also improved</pre>Routes have been added - but applications will not use them yet (210314). | ||
The old routes will still function. | |||
In what way are they better: | In what way are they better? They: | ||
* | * Are shorter | ||
* | * Do not show Turnkey brand | ||
* | * Do not show Angular brand | ||
* | * Have better order of API and verb for rest | ||
* | * Have better order of view for MVC | ||
Related: [[Redirection page]] | |||
[[Category:AngularJS]] | [[Category:AngularJS]] | ||
[[Category:WebUI]] | [[Category:WebUI]] |
Revision as of 06:16, 9 March 2023
// Better routes App,MVC,Rest /// APP /// http://localhost:5052/Turnkey/AngularApp#/ViewOneThing/11!1 old /// http://localhost:5052/App#/ViewOneThing/11!1 improved /// /// MVC /// http://localhost:5052/Turnkey/Display/11!1?view=ViewOneThingCopy old /// http://localhost:5052/MVC/ViewOneThingCopy/11!1 improved /// /// Rest /// http://localhost:5052/TurnkeyRest/Get?command=ViewOneThing&id=11!1 old /// http://localhost:5052/Rest/ViewOneThing/Get?id=11!1 improved /// http://localhost:5052/Rest/ViewOneThing/Get/11!1 also improved
Routes have been added - but applications will not use them yet (210314).
The old routes will still function.
In what way are they better? They:
- Are shorter
- Do not show Turnkey brand
- Do not show Angular brand
- Have better order of API and verb for rest
- Have better order of view for MVC
Related: Redirection page
This page was edited more than 11 months ago on 02/10/2024. What links here