这是indexloc提供的服务,不要输入任何密码
Skip to content

ngrest and proxy #71

@atari83

Description

@atari83

Hello there,

I've a scenario and need your input about its development feasibility with ngrest.

So, we're using nginx as webserver, and would like to develop a rest service module for it by ngrest.

The rest service receives requests (POST method) from various clients. Normally it has to validate the incoming requests (body and headers), and may send response with error to clients in case of malformed or mistakes in requests.

If validation passed, then my webserver need to act as proxy, so basically request has to be forwarded to other webserver(s) to process and my webserver has to deliver the response back to client.

Could you please elaborate on this request and it's implementation. Specially the proxy function. What should i consider with ngrest module development and nginx configuration.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions