how to parse JSON from URL with basic authentication

Is there anyone who can provide me with the different steps I need to parse JSON form an API using basic authentication?

thanks in advance

Answers


Use NSJSONSerialization for that:

NSJSONSerialization Apple Doc


Need Your Help

Can DTS Test for Presence of MS-Access Table

sql-server ms-access dts

I have an Access database in which I drop the table and then create the table afresh. However, I need to be able to test for the table in case the table gets dropped but not created (i.e. when som...

OpenGL coordinates to match screen coordinates?

android opengl-es coordinates

Android opengl-es view question. So in openGL, the default position of the camera and view is at 0,0. How do you set the view and camera so that it acts basically the same as computer screen coordi...