I'm still very new to web development, so please bear with me if this question is really stupid.

I'm trying to follow a REST principles, however, I really appreciate how JSON flows with Ruby and anything that is connecting externally through an API. I know that its pretty standard in REST to input parameters directly into the URL like so: myurl.com/ExampleModel/MyIDParameter and send the JSON (if there is any) to that URI, right?

What I would like to know is: Is it against REST principles to remove the parameter from the URI (and the routing if I will never use it) and include the parameter in the JSON?

For example, instead of calling this:

```
myurl.com/ExampleModel/id
{
    "name" : "My Name",
    "anotherParameter" : "A random string"
}

```

You would call this:

```
myurl.com/ExampleModel
{
    "id" : 512,
    "name" : "My Name",
    "anotherParameter" : "A random string"
}

```