Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
If someone could guide on the following

1. I need to pick the User's Mobile Number and display in textbox when my app starts.

2. How can I POST a JSON data to Web API.

JavaScript
 Json Object:  {
        "UserName": "Name",
        "MobileNumber": "Number"
    }
 
Request Type : POST
Headers:
Accept: application/json
Content-Type: application/json
Accept-Charset: UTF-8
Posted
Updated 4-Jul-15 4:59am
v2

1 solution

See this answer on stackoverflow, it should give you some guide-lines.
 
Share this answer
 
Comments
Hari-CodeBlogger 6-Jul-15 4:17am    
any idea on auto pick User's Mobile Number..? Is it Possible just like in android.?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900