On 2016-11-24 22:22, Vincent Bastos wrote: > On Thu, Nov 24, 2016 at 10:17 PM, Sergi Almacellas Abellana < > se...@koolpi.com> wrote: > > > Hi Vincent, > > > > El 24/11/16 a les 13:11, Vincent Bastos ha escrit: > > > >> Is it possible to create an end point on the server that does not > >> require authentication? > >> > >> I would like to implement a queue to send SMS's using the Twilio API. > >> When you send a request to send a message, it is possible to set a > >> callback url [1] with a parameter in the domain rather than as a > >> parameter. > >> > >> > > You can use flask_tryton [1] to create a custom endpoint that conects to > > the database and processes the requests. This request won't require any > > authentication. > > > > Hope it helps, > > > > [1] https://pypi.python.org/pypi/flask_tryton/0.6 > > ok thanks. I had not thought of this. > > I'm not sure how to actually implement this in terms of putting it together > in a module - if that even makes sense. Can I simple create a flask > application in my module?
Indeed I think it will be better in 4.2 to use a route without the user_application decorator but of course you must be careful about the process because your endpoint will be exposed to anyone. -- Cédric Krier - B2CK SPRL Email/Jabber: cedric.kr...@b2ck.com Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ -- You received this message because you are subscribed to the Google Groups "tryton-dev" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton-dev/20161124123451.GT67642%40tetsuo.