Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cylon and REST #345

Open
OlivierLD opened this issue Jun 11, 2016 · 1 comment
Open

Cylon and REST #345

OlivierLD opened this issue Jun 11, 2016 · 1 comment

Comments

@OlivierLD
Copy link

OlivierLD commented Jun 11, 2016

I'd like to have your opinion about the way to use REST services to reach Cylon features.
I've put a quick sample of REST + Cylon-Speech here on github, look at the README.md. It uses Swagger to generate the REST server code.

It works fine, but:

  • Is that the right way to do it?
  • Is there any better place (if any) to put such demo?

Comments most welcome, thanks!

@deadprogram
Copy link
Member

Hi, @OlivierLD you for sure should check out the built-in API plugins, such as https://github.com/hybridgroup/cylon-api-http

This allows client programs to access a REST interface based on cppp.io

You can also access the cppp interface using either socket.io (https://github.com/hybridgroup/cylon-api-socketio) or mqtt (https://github.com/hybridgroup/cylon-api-mqtt)

Hope that helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants