The '/endpoint' is passed from the view to the snorql.js. Closes issue #40
Merge branch 'enhancement-#w40' into develop