In my Rest application, the resource url also support query parameters like pageSize, pageNum , name etc. So the request url looks like
/resource/{id}?pageN
Just ignore it. Most other web servers would ignore request parameters it didn't understand.
Google ignore my two extra parameters here https://www.google.com/#q=search+for+something&invalid=param&more=stuff