response string shows,Your request is prohibited because it would cause a cycle."Cycle Detected" response (400)
<h2>JSON</h2>

<pre><code>[
{ 
      "userName”:”abcd”,
      "phoneNumber”:”987456321”,
      "latitude":12.911757,
      "longitude":80.2162277,
      "speed":0,
      "updatedOn":"Dec 20, 2016 2:12:56 AM",
      "userMessage":"Hello"
   },
   { 
      "userName”:”EFGH”,
      "phoneNumber”:”987546123”,
      "latitude":12.911757,
      "longitude":80.2162277,
      "speed":0,
      "updatedOn":"Dec 20, 2016 7:58:49 AM",
      "userMessage":"Hello"
   }
]
</code></pre>

<p><strong>CODE</strong>:</p>

<pre><code>let responseString:String = NSString(data: data!, encoding: String.Encoding.utf8.rawValue)! as String
            print(responseString)


let myJSON  = try JSONSerialization.jsonObject(with: data!, options:.allowFragments) as! Array&lt;Dictionary&lt;String, Any&gt;&gt;
                    for  dictionary in myJSON
                    {
                       if (UserDefaults.standard.value(forKey: "phoneNumber") as! String) != (dictionary["phoneNumber"] as! String)
                       {
                        let uname = dictionary["userName"] as! String
                        let phoneNo = dictionary["phoneNumber"] as! String
                        let lat = dictionary["latitude"] as! Double
                        let long = dictionary["longitude"] as! Double
                        let speed = dictionary["speed"] as! Int
                        //let time = dictionary["updatedOn"] as! String
                        let userMessage = dictionary["userMessage"] as! String

                        self.array_usermsg.append(userMessage)
                        let marker = GMSMarker()
                        marker.position = CLLocationCoordinate2DMake(lat, long)
                        marker.icon = UIImage(named: "car.jpg")
                        marker.map = self.mapViewFist
                        }
                    }
</code></pre>

<p>response string shows: "Your request is prohibited because it would cause a cycle". "Cycle Detected" response (400).</p>