Skip to content

grotsev/http_port

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http_port

PostgreSQL async HTTP request and response

This will start http_port to listen PostgreSQL notifications. Its payload describes HTTP request. Callback will be executed with response as $1.

  $ http_port http_port.conf
  
  NOTIFY test_notifications, '{"method":{"POST":{"body":{"hello":"world"}}}, "url":"http://httpbin.org/post", "callback":"insert into syslog(msg) values ($1)"}';

About

PostgreSQL async HTTP request and response

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages