I am working with some code originally written by someone else, using the Symfony2 framework to create routes in the form:
http://my_site.com/account/add
http://my_site.com/account/delete, etc.
The problem is that if I have something like this:
http://my_site.com/account/add/{"account_id":"test","web_site":"http://www.another_site.com"}
I am urlencoding the JSON string before sending it, but I am getting a 404 (route not found)
if I remove the http:// it works fine
Even if I do something like:
http://my_site.com/account/add/{"account_id":"test","web_site":"www.another_site.com/funstuff"}
I also get a 404 , with a message about route not found, which I assume comes from the symfony2 framework. Any ideas?