Use url_for instead of hardcoding API uris
Use url_for instead of hardcoding API uris

While these are unlikely to change in this project, it's entirely
possible that in a larger project that they could.

justanr/twiki,justanr/twiki,justanr/twiki