On Saturday, 25 February 2017 16:05:07 UTC-8, Cédric Krier wrote: > > On 2017-02-25 12:18, NotZippy wrote: > > Thanks Cédric, I see that the method was changed, I also see that this > > commit > > < > https://github.com/tryton/trytond/commit/9cfc28b506ef5951ab4d0d56d90770bf7a954159> > > > > changed to WSGI API , which changed the database endpoint from > > http://host/db to http://host/db/ > (@app.route('/<string:database_name>/', > > methods=['POST'])). > > Indeed the trailing slash was working on previous version and was > considered the right way. It was working without by chance. > > > It also appears at the same time this was implement user > > authorization > > < > https://github.com/tryton/tryton/commit/de484f1f853da8902b2ff304859e7fc72b75227d> > > > > was added to the request header - I guess this was to prevent a MIM from > > hijacking a session.. > > No really for this reason but to have the same design as basic > authorization which allowed to merge the json and xml-rpc and have both > allowing both methods. > > > If there is more documentation on changes to the > > JSON-RPC calls let me know. Otherwise I will pick through the changes > and > > see if I can come up with a couple of working samples to add to this > post.. > > No, unfortunately the RPC topics have a TODO for other methods. So patch > is welcomed. > > -- > Cédric Krier - B2CK SPRL > Email/Jabber: [email protected] <javascript:> > Tel: +32 472 54 46 59 > Website: http://www.b2ck.com/ >
TY, when I am done I will try and make a PR for the JSON-RPC docs Nz -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/ca83c068-9ba8-46b7-ba05-4bd5a07ce216%40googlegroups.com.
