My goal is to implement a feature that allows users to be searched based on multiple tags (an array of tags) using the specified structure:
GET '/tags/users?tag[]=test&tag[]=sample'
I have managed to make this work on my node server and have successfully tested it with Postman. The challenge I am facing now is figuring out how to format this GET
request within my Angular service using $resource
. While there are resources available for $http
suggesting that adding params:{'tag[]': tag}
to the request object should work, I have not been able to find similar information for $resource
.