Join Slack
Powered by
Is it possible to have 3 stage url's? ```localhost...
# box-products
o
Ookma-Kyi
07/31/2023, 5:14 AM
Is it possible to have 3 stage url's?
Copy code
localhost:8080/user/changepass/done
An example
Copy code
<class>/<action>/<vanity>
d
davidsf
07/31/2023, 6:16 AM
yes, it's possible with route placeholders:
https://coldbox.ortusbooks.com/the-basics/routing/routing-dsl/pattern-placeholders
w
wil-shiftinsert
07/31/2023, 10:29 AM
Certainly possible, as david pointed out. Don’t know if you are creating something like a REST interface or something else, because this is not very REST like. In rest you are using nouns, not verbs, e.g
https://www.freecodecamp.org/news/rest-api-best-practices-rest-endpoint-design-examples/#:~:text=When%20you're%20designing%20a,%2C%20Update%2C%20Delete)%20operations
.
Open in Slack
Previous
Next