mgonto / restangular

AngularJS service to handle Rest API Restful Resources properly and easily
MIT License
7.87k stars 840 forks source link

add support for matrix parameters #1447

Closed cthiebaud closed 7 years ago

cthiebaud commented 7 years ago

Matrix URL notation is an idea first floated in a 1996 proposal by the founder of the web, Tim Berners-Lee.

Although matrix notation never made it into the HTML standard, it is legal and it became popular among browser routing systems as a way to isolate parameters belonging to parent and child routes.

(quote from angular.io docs)

FYI There is a node.js matrix parser implementation here.

I understand that full support might be a bt far fetched. Is there any way to produce matrix-complientURLs with the current Restangular, maybe using interceptors ?

I more or less tried it, but could not made it, but my knowledge of Restangular is rather basic. I am happy to get guidelines if this is possible.

thanks

bostrom commented 7 years ago

There's a PR (https://github.com/mgonto/restangular/pull/1070) open about matrix URLs. Can you have a look at that?

bostrom commented 7 years ago

Closing since also duplicate to https://github.com/mgonto/restangular/issues/968.