curl --request POST \
  --url https://us1.unwiredlabs.com/v2/process.php \
  --data '{"token": "your_API_token","radio": "gsm","mcc": 310,"mnc": 410,"cells": [{"lac": 7033,"cid": 17811}],"wifi": [{"bssid": "00:17:c5:cd:ca:aa","channel": 11,"frequency": 2412,"signal": -51}, {"bssid": "d8:97:ba:c2:f0:5a"}],"address": 1}'
wget --quiet \
  --method POST \
  --body-data '{"token": "your_API_token","radio": "gsm","mcc": 310,"mnc": 410,"cells": [{"lac": 7033,"cid": 17811}],"wifi": [{"bssid": "00:17:c5:cd:ca:aa","channel": 11,"frequency": 2412,"signal": -51}, {"bssid": "d8:97:ba:c2:f0:5a"}],"address": 1}' \
  --output-document \
  - https://us1.unwiredlabs.com/v2/process.php
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://us1.unwiredlabs.com/v2/process.php",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => "{\"token\": \"your_API_token\",\"radio\": \"gsm\",\"mcc\": 310,\"mnc\": 410,\"cells\": [{\"lac\": 7033,\"cid\": 17811}],\"wifi\": [{\"bssid\": \"00:17:c5:cd:ca:aa\",\"channel\": 11,\"frequency\": 2412,\"signal\": -51}, {\"bssid\": \"d8:97:ba:c2:f0:5a\"}],\"address\": 1}",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
import requests

url = "https://us1.unwiredlabs.com/v2/process.php"

payload = "{\"token\": \"your_API_token\",\"radio\": \"gsm\",\"mcc\": 310,\"mnc\": 410,\"cells\": [{\"lac\": 7033,\"cid\": 17811}],\"wifi\": [{\"bssid\": \"00:17:c5:cd:ca:aa\",\"channel\": 11,\"frequency\": 2412,\"signal\": -51}, {\"bssid\": \"d8:97:ba:c2:f0:5a\"}],\"address\": 1}"
response = requests.request("POST", url, data=payload)

print(response.text)
var unirest = require("unirest");

var req = unirest("POST", "https://us1.unwiredlabs.com/v2/process.php");

req.type("json");
req.send({
  "token": "your_API_token",
  "radio": "gsm",
  "mcc": 310,
  "mnc": 410,
  "cells": [
    {
      "lac": 7033,
      "cid": 17811
    }
  ],
  "wifi": [
    {
      "bssid": "00:17:c5:cd:ca:aa",
      "channel": 11,
      "frequency": 2412,
      "signal": -51
    },
    {
      "bssid": "d8:97:ba:c2:f0:5a"
    }
  ],
  "address": 1
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
var request = require("request");

var options = { method: 'POST',
  url: 'https://us1.unwiredlabs.com/v2/process.php',
  body: 
   { token: 'your_API_token',
     radio: 'gsm',
     mcc: 310,
     mnc: 410,
     cells: [ { lac: 7033, cid: 17811 } ],
     wifi: 
      [ { bssid: '00:17:c5:cd:ca:aa',
          channel: 11,
          frequency: 2412,
          signal: -51 },
        { bssid: 'd8:97:ba:c2:f0:5a' } ],
     address: 1 },
  json: true };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
var http = require("https");

var options = {
  "method": "POST",
  "hostname": "us1.unwiredlabs.com",
  "port": null,
  "path": "/v2/process.php",
  "headers": {}
};

var req = http.request(options, function (res) {
  var chunks = [];

  res.on("data", function (chunk) {
    chunks.push(chunk);
  });

  res.on("end", function () {
    var body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({ token: 'your_API_token',
  radio: 'gsm',
  mcc: 310,
  mnc: 410,
  cells: [ { lac: 7033, cid: 17811 } ],
  wifi: 
   [ { bssid: '00:17:c5:cd:ca:aa',
       channel: 11,
       frequency: 2412,
       signal: -51 },
     { bssid: 'd8:97:ba:c2:f0:5a' } ],
  address: 1 }));
req.end();
HttpResponse<String> response = Unirest.post("https://us1.unwiredlabs.com/v2/process.php")
  .body("{\"token\": \"your_API_token\",\"radio\": \"gsm\",\"mcc\": 310,\"mnc\": 410,\"cells\": [{\"lac\": 7033,\"cid\": 17811}],\"wifi\": [{\"bssid\": \"00:17:c5:cd:ca:aa\",\"channel\": 11,\"frequency\": 2412,\"signal\": -51}, {\"bssid\": \"d8:97:ba:c2:f0:5a\"}],\"address\": 1}")
  .asString();
require 'uri'
require 'net/http'

url = URI("https://us1.unwiredlabs.com/v2/process.php")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE

request = Net::HTTP::Post.new(url)
request.body = "{\"token\": \"your_API_token\",\"radio\": \"gsm\",\"mcc\": 310,\"mnc\": 410,\"cells\": [{\"lac\": 7033,\"cid\": 17811}],\"wifi\": [{\"bssid\": \"00:17:c5:cd:ca:aa\",\"channel\": 11,\"frequency\": 2412,\"signal\": -51}, {\"bssid\": \"d8:97:ba:c2:f0:5a\"}],\"address\": 1}"

response = http.request(request)
puts response.read_body
#import <Foundation/Foundation.h>
NSDictionary *parameters = @{ @"token": @"your_API_token",
                              @"radio": @"gsm",
                              @"mcc": @310,
                              @"mnc": @410,
                              @"cells": @[ @{ @"lac": @7033, @"cid": @17811 } ],
                              @"wifi": @[ @{ @"bssid": @"00:17:c5:cd:ca:aa", @"channel": @11, @"frequency": @2412, @"signal": @-51 }, @{ @"bssid": @"d8:97:ba:c2:f0:5a" } ],
                              @"address": @1 };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"https://us1.unwiredlabs.com/v2/process.php"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://us1.unwiredlabs.com/v2/process.php"

	payload := strings.NewReader("{\"token\": \"your_API_token\",\"radio\": \"gsm\",\"mcc\": 310,\"mnc\": 410,\"cells\": [{\"lac\": 7033,\"cid\": 17811}],\"wifi\": [{\"bssid\": \"00:17:c5:cd:ca:aa\",\"channel\": 11,\"frequency\": 2412,\"signal\": -51}, {\"bssid\": \"d8:97:ba:c2:f0:5a\"}],\"address\": 1}")

	req, _ := http.NewRequest("POST", url, payload)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
var settings = {
  "async": true,
  "crossDomain": true,
  "url": "https://us1.unwiredlabs.com/v2/process.php",
  "method": "POST",
  "headers": {},
  "processData": false,
  "data": "{\"token\": \"your_API_token\",\"radio\": \"gsm\",\"mcc\": 310,\"mnc\": 410,\"cells\": [{\"lac\": 7033,\"cid\": 17811}],\"wifi\": [{\"bssid\": \"00:17:c5:cd:ca:aa\",\"channel\": 11,\"frequency\": 2412,\"signal\": -51}, {\"bssid\": \"d8:97:ba:c2:f0:5a\"}],\"address\": 1}"
}

$.ajax(settings).done(function (response) {
  console.log(response);
});
var client = new RestClient("https://us1.unwiredlabs.com/v2/process.php");
var request = new RestRequest(Method.POST);
request.AddParameter("undefined", "{\"token\": \"your_API_token\",\"radio\": \"gsm\",\"mcc\": 310,\"mnc\": 410,\"cells\": [{\"lac\": 7033,\"cid\": 17811}],\"wifi\": [{\"bssid\": \"00:17:c5:cd:ca:aa\",\"channel\": 11,\"frequency\": 2412,\"signal\": -51}, {\"bssid\": \"d8:97:ba:c2:f0:5a\"}],\"address\": 1}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);