Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

realGet actually Posts? #18

Open
breakpointer opened this Issue · 1 comment

2 participants

@breakpointer

I don't understand why you guys chose to use POST in your get() method to pull documents. Could someone explain this? It doesn't make sense to me.

Thanks.

@hdachev

The CouchDB HTTP API specifies that the keys query parameter goes over POST.
This is probably to keep the url short when you are requesting massive numbers of documents in a single bulk request, which is exactly what happens here as your gets are queued and sent over the connection together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.