Question: I am trying make a http request to a web service. It returns JSON data. And I am also want to parse this data. I am new at swift I try many ways but get nothing. Here is my service address:

```
http://xxx.xxx.xxx.xxx/mobileservice/login/firmcode/mailaddress/password/ip

```

I am try to call service on this uri template. How can I do can anybody help ?

Answer: 
<https://github.com/Alamofire/Alamofire>

+

<https://github.com/SwiftyJSON/SwiftyJSON>

EX : 

```
Alamofire.request(.GET, "http://xxx.xxx.xxx.xxx/mobileservice/login/firmcode/mailaddress/password/ip", parameters: nil)
     .responseJSON { response in
         print(response.request)  // original URL request
         print(response.response) // URL response
         print(response.data)     // server data
         print(response.result)   // result of response serialization

         if let res= response.result.value {
             print("JSON: \(JSON)")
             //Here you can parse the json with swiftyJSON
             let json = JSON(res)
             let name = json["name"].string
         }
     }

```
You can use a third party framework like Alamofire, as Benobab says. It's also quite easy to use `NSURLSession` and an `NSURLSessionTask` to do this. `NSURLSession` has a method `sharedSession` that gives you a session that's already configured. Then you want to create an `NSURLSessionDataTask`. Take a look at the Xcode docs for more info.