How to use Nginx to get HTTPS POST from cloud vendor

Chang Code codechang at outlook.com
Sun Jun 18 10:31:29 UTC 2017


Hi,

I am looking detail document to learn how use Nginx to receive HTTPS POST data from below data format. I already searched documents from google but all of documents did not explain in detail for learning. Please advise. Thank you.



HTTPS POST BODY

{
   "version":"2.0",
   "secret":<string>,
   "type":<event type>,
   "data":<event-specific data>
}

HTTPS special data format

{
  "apMac": <string>,
  "apTags": [<string, ...],
  "apFloors": [<string>, ...],
  "observations": [
    {
      "clientMac": <string>,
      "ipv4": <string>,
      "ipv6": <string>,
      "seenTime": <string>,
      "seenEpoch": <integer>,
      "ssid": <string>,
      "rssi": <integer>,
      "manufacturer": <string>,
      "os": <string>,
      "location": {
        "lat": <decimal>,
        "lng": <decimal>,
        "unc": <decimal>,
        "x": [<decimal>, ...],
        "y": [<decimal>, ...]
      },
    },...
  ]
}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20170618/f31b701b/attachment.html>


More information about the nginx mailing list