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
Post a Comment