Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow forcing GET on VIEW commands (even with keys) #24

Closed
carlosduclos opened this issue Mar 17, 2017 · 1 comment
Closed

Allow forcing GET on VIEW commands (even with keys) #24

carlosduclos opened this issue Mar 17, 2017 · 1 comment

Comments

@carlosduclos
Copy link
Contributor

Original issue

libHive
This issue rose when working against Cloudant. Their pricing is 5 times cheaper for GET requests than POST requests. I had a lot of requests for small sets of keys, nothing that couldn't go into a query string, and I had made this change in order to keep my bills down.

The actual change was rather small - just adding an optional parameter to the request -

  let exampleQuery = { 
            reduce : true, 
            group : true, 
            keys : [ [a,b], [c,d] ], 
            forceGet: true // this is the parameter I added
        }; 

Do you think this is something that should go into the main branch ?
Thanks

@big-r81
Copy link
Contributor

big-r81 commented Jun 20, 2022

I'm closing this old ticket. If it's still a problem, please reopen or create a new ticket.

@big-r81 big-r81 closed this as completed Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants