I am using JSON for parsing data in android. I have a JSON URL which requires username and password for authentication. I just went through the below tutorial for implementing JSON.
It is easy to implement but in my application i need to send the username and password for authentication. I am bit confused about this.
Can anyone please tell me how to set Content-Type, accept, Authorization in JSON.
Thanks.