Is it true that to implement a RESTful API, one has to implement a URL structure that looks like this
http://example.com/post/ http://example.com/post/123 >
The structure of your URLs doesn't matter. What does matter is that each URL identifies exactly 1 resource. Each resource can have multiple URLs that point to it but each URL should only point to 1 resource.