php


No route found for “GET /user” - symfony rest app


I am trying to creating a rest api in symfony after creating the bundle I found out that there is not routing.yml file found in the resources folder so I manually created and added this routing configuration
get_users_all:
pattern: /users
defaults: { _controller: RestApiBundle:Default:all, _format: ~ }
requirements:
_method: GET
If I try to acess my site on this url
http://localhost:88/RestApi/web/app_dev.php/users
I get this error in return
No route found for "GET /users"
404 Not Found - NotFoundHttpException
1 linked Exception: ResourceNotFoundException »
Please what could be wrong?

Related Links

Removing a outer array from JSON object - PHP
PHP curl — Using Variable for CURLOPT_USERPWD
Warning: mysqli_select_db() expects exactly 2 parameters, 1 given in C:\ [duplicate]
keeping a html / php form from timing out
Importing data from csv to mysql
How to prevent ipFlood
PHP - conditional statement not working when using pathinfo() to extract the pathinfo['extension'] and is renaming all my uploads
redirect to page dependant on roles
Problems with executing second SQL statement within a private class in PHP
Center div with link elements
Codeigniter userdata session is empty
how to break hindi string in array with php and count how many letter and vowel in string
Coding HTML inner PHP
How to update once a day
Symfony 2 Doctrine Use find with between condition
Deserialize DateTime from MongoDB to PHP [duplicate]

Categories

HOME
kivy
theano
embedded-resource
odata
typeerror
google-webmaster-tools
dji-sdk
drag-and-drop
tweepy
wine
lapack
robolectric
cloudsim
infrared
wsf
angular2-highcharts
bosun
stackexchange.redis
multi-upload
offline-caching
openbravo
oracleforms
miniprofiler
audit
credit-card
matlab-app-designer
opnet
seafile-server
serversocket
db2-luw
google-prediction
react-intl
common-table-expression
dredd
section508
sonarqube5.2
directwrite
cyanogenmod
image-registration
libreoffice-writer
sonicmq
jgrapht
simple-schema
connect-direct
wikimapia
glassfish-4.1
apache-modules
adobe-reader
allegro
boost-compute
carmen
callouts
cdo.message
android-sdcard
apache-pig-grunt
facebook-ios-sdk
fdt
openmrs
grinder
deeplink
perceptron
msgpack
http.client
search-form
modern.ie
ocmockito
tidyr
debug-symbols
global-scope
smacss
multivariate-testing
quantify
lmax
oracle-adf-mobile
nidaqmx
lumia-imaging-sdk
squeezebox
treeline
commenting
ivalueconverter
cpu-time
application-blocks
hyphen
vlab
coalesce
jacob
pacman
flv
dibs
jquery-cycle
significant-digits
session-0-isolation
red-system
system-information
jdom
image-scanner
microblogging
fork-join
nosetests
suphp
downgrade
jdownloader
xap
objectinstantiation
bindable-linq

Resources

Encrypt Message