Skip to content

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

@giacat-tran0198

Description

@giacat-tran0198

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions