On Thursday, 17 April 2014 20:21:31 UTC+5:30, prabhu wrote:
>
>
> The url that I would enter (for testing purpose )would be like below.
>
> http://our.api.com/term/pumas/productType/clothing/color/black
>
> So the term is pumas, productType is clothing and color is black.
>
> Hope this would give
The url that I would enter (for testing purpose )would be like below.
http://our.api.com/term/pumas/productType/clothing/color/black
So the term is pumas, productType is clothing and color is black.
Hope this would give you more clarity
Thanks
On Thursday, 17 April 2014 19:52:55 UTC+5:30, Chr
On Thu, Apr 17, 2014 at 6:20 AM, prabhu wrote:
> I am trying to implement a web service with REST API.
I would strongly recommend that you study how the default restful
routes for a Rails-scaffolded model work first.
It would also be good to read up on the concept of REST itself and
specificall
> the url as *localhost:3000/users/new/id/6235/name/david/age/12*, I need
> to access the params of id,name and age in my controller.
>
> So params[:id] => 6235
> params[:name] => david
> params[:age]=> 12
With the little context you've provided, the best I can offer is the
following guess:
The
Hi,
I am trying to implement a web service with REST API. So when I type in the
url as *localhost:3000/users/new/id/6235/name/david/age/12*, I need to
access the params of id,name and age in my controller.
So params[:id] => 6235
params[:name] => david
params[:age]=> 12
How do I achieve it with
5 matches
Mail list logo