tarantool / nginx_upstream_module

Tarantool NginX upstream module (REST, JSON API, websockets, load balancing)
Other
174 stars 18 forks source link

SELECT/INSERT/UPDATE/DELETE over REST #66

Closed dedok closed 6 years ago

dedok commented 7 years ago

I proposing a configuration for this issue

{
 # Contexts location, location if
 location = /my_insert {
   tnt_http_insert [on, off];
   tnt_pass UPSTREAM;
 }
 location = /my_delete {
   tnt_http_delete [on, off];
   tnt_pass UPSTREAM;
 }
 ... and so on ...
} 
dedok commented 7 years ago

I need think about the issue...

dedok commented 6 years ago

Added: replace, delete, insert, select in b108c1ea8709adf36664c75028db794e1ffbf336

morokin commented 6 years ago

Can you please add description of HTTP status codes returning by upstream module to documentation.

Thanks

dedok commented 6 years ago

Fixed in db9356ef8bb6b6f30b5f2cf0881248a008a6ac50