The Slim Framework support forum has moved to This Tender forum is no longer maintained or monitored.

angularjs restangular with slim as rest api

tomamal's Avatar


14 Jul, 2015 06:26 AM

This is my code:
angularjs"category",categoryName) .all("company/list").getList({'listingType':listingType});
This translates to /api/category/AnimalsandPetSupplies/company/list?listingType=Top

In slim/index.php, this is the code:
$app->get('/category/category_name/company/list/:listingType', 'getCompaniesByCategoryName');

I am getting this error:
404 Page Not Found
The page you are looking for could not be found. Check the address bar to ensure your URL is spelled correctly.

I spent a lot of time on this, still not able to find a solution...Can You please help?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac