I have this structure in a web service:
{
"user":
{
"email":"prueba@hotmail.com",
"password":"12345678",
"objectId":"2334jklwf",
"token":"12334023ijrdadfsdoifj"
}
}
I need to make an HTTP POST
using NSURLSession
(iOS 9). So I need to create a dictionary with a key called 'user'
and inside that key another dictionary with all the keys shown, right? And what is the way to POST
it?