Forum: Ruby on Rails How to pass an additional parameter from the url to a xmlrpc

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
85ab83078200dcd84ea993bdcda957b3?d=identicon&s=25 Edgar Gonzalez (Guest)
on 2006-02-06 16:58
(Received via mailing list)
guys,

I have a RoR App with a xmlrpc service, which attende a several clients

recently I need to change the xmlrpc service in order to provide an
additional parameter from the clients, but I don´t want to force a
change in
the clients's xmlrpc code, so is possible to pass this additional
parameter
in the url? every client append his own new parameter to the url to
access
the xmlrpc service, something like:

http://myapp/xmlrpc_controller/api/new_parameter

is possible to pass a parameter from the url (via routes) to the xmlrpc
service ?

Thx
59de94a56fd2c198f33d9515d1c05961?d=identicon&s=25 Tom Mornini (Guest)
on 2006-02-06 18:08
(Received via mailing list)
I'd create a new version of the interface and specification,
keep the old interface running, and if your clients wnat
the new functionality, they should migrate to the new
service with attendant changes to their code.

Your solution might work once, but how long will you
keep 'extending' your interface in the same way?

--
-- Tom Mornini
This topic is locked and can not be replied to.