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

[API] how to create REST API and connect Redis #72

Open
giacat-tran0198 opened this issue Jul 9, 2021 · 0 comments
Open

[API] how to create REST API and connect Redis #72

giacat-tran0198 opened this issue Jul 9, 2021 · 0 comments

Comments

@giacat-tran0198
Copy link

giacat-tran0198 commented Jul 9, 2021

Hello.
I'm trying to create a web app that apply my educational , an i want to implement a spade environment in order to execute some complex process using a few agents and connect with Redis. I want to send myAgent from a request GET(POST, UPDATE or DELETE) from API, after it is resolved,, the agent will return the result. For example: post the link /api/sum with list by json like:

{
  "value": [ 1, 2, 3]
}

And myAgent will calcule, and return a result json like:

{
  "result": 6
}

Is there any solves or recommendations to this? How to create this API and how to connect system with Redis?

@giacat-tran0198 giacat-tran0198 changed the title [API] how to create REST API [API] how to create REST API and connect Redis Jul 9, 2021
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

1 participant