Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.
/ http-post-adapter Public archive

HTTP service that makes an HTTP-POST request with the arguments given

License

Notifications You must be signed in to change notification settings

witnet/http-post-adapter

Repository files navigation

⚠️ Deprecation notice

This package was a workaround solution to be able to consume HTTP-POST APIs, such as GraphQL ones, through Witnet. To be able to consume POST APIs without sacrificing decentralization, the WIP-2020 was proposed and activated. You can learn more about how to get data using HTTP-POST in the Witnet documentation.

http-post-adapter

HTTP service that makes an HTTP-POST request with the arguments given.

Configurable environment variables

PORT

Default: 3000

Port where the server will be listening.

RATE_LIMIT_DURATION

Default: 1

Number of seconds before reset the number of requests.

REQUEST_PER_DURATION

Default: 3

Maximum number of request can be done over RATE_LIMIT_DURATION.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

HTTP service that makes an HTTP-POST request with the arguments given

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published