I have the following axios query
axios
.get(`/api/school/get-pathways-with-partner`, {
params: { partnerList: e }
})
And my express route is this:
router.get(
`/get-pathways-with-partner/:partnerList`)
However, when I hit the router with the query
http://localhost:5000/api/school/get-pathways-with-partner?partnerList[]=%7B%22value%22:%22Accenture%22,%22label%22:%22Accenture%22,%22_id%22:%225c9ba397347bb645e0865278%22%7D
It gives me a 404, is there something wrong with how i'm defining the route?