How do i get JSON data from a couchDB database and parse it in Xcode? -


for example, have document in couchdb database holds 2 fields "password" , "username". url document:http://127.0.0.1:5984/_utils/document.html?sgram/fdcfc14940fbaa0d86674046ce005107 want retrieve value of these fields specific document in couchdb , parse in xcode. tried using http-get returns entire page source.

you want make request endpoint

http://127.0.0.1:5984/sgram/fdcfc14940fbaa0d86674046ce005107

for json response couchdb don't include _utils/document.html in between. if give futon html page.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -

javascript - Bootstrap Popover: iOS Safari strange behaviour -