Completed

Build Classic ASP VB script page to support JSON posts

I need a classic ASP page written with VB script code that will act as a JSON rest API web service.

This ASP page will be hosted on a Windows server running IIS 7.5.

This page will accept JSON Posts from "the thing's network"

I need you to write the logic that will parse the JSON header to extract the variables and values. I will write the code to insert these values in a database.

The JSON post will be in the following format:

{

"app_id": "my-app-id", // Same as in the topic

"dev_id": "my-dev-id", // Same as in the topic

"hardware_serial": "0102030405060708", // In case of LoRaWAN: the DevEUI

"port": 1, // LoRaWAN FPort

"counter": 2, // LoRaWAN frame counter

"is_retry": false, // Is set to true if this message is a retry (you could also detect this from the counter)

"confirmed": false, // Is set to true if this message was a confirmed message

"payload_raw": "AQIDBA==", // Base64 encoded payload: [0x01, 0x02, 0x03, 0x04]

"payload_fields": {}, // Object containing the results from the payload functions - left out when empty

"metadata": {

"time": "1970-01-01T00:00:00Z", // Time when the server received the message

"frequency": 868.1, // Frequency at which the message was sent

"modulation": "LORA", // Modulation that was used - LORA or FSK

"data_rate": "SF7BW125", // Data rate that was used - if LORA modulation

"bit_rate": 50000, // Bit rate that was used - if FSK modulation

"coding_rate": "4/5", // Coding rate that was used

"gateways": [

{

"gtw_id": "ttn-herengracht-ams", // EUI of the gateway

"timestamp": 12345, // Timestamp when the gateway received the message

"time": "1970-01-01T00:00:00Z", // Time when the gateway received the message - left out when gateway does not have synchronized time

"channel": 0, // Channel where the gateway received the message

"rssi": -25, // Signal strength of the received message

"snr": 5, // Signal to noise ratio of the received message

"rf_chain": 0, // RF chain where the gateway received the message

"latitude": 52.1234, // Latitude of the gateway reported in its status updates

"longitude": 6.1234, // Longitude of the gateway

"altitude": 6 // Altitude of the gateway

},

//...more if received by more gateways...

],

"latitude": 52.2345, // Latitude of the device

"longitude": 6.2345, // Longitude of the device

"altitude": 2 // Altitude of the device

},

"downlink_url": "[login to view URL]"

}

Skills: ASP, JSON, VBScript

See more: free captcha script classic asp, calling web service classic asp page, classic asp json com, consuming webservice classic asp page using http post, loop classic asp page, retrieve asp script page, export script sql table using classic asp, classic asp script timeout, classic asp page processing, post classic asp page script, adding captcha classic asp page, create classic asp processing page, captcha classic asp page, asp vb script facebook application, calling web service asp classic application vb script, consuming web services classic asp java script, classic asp html word page, classic asp forum script, classic asp gps script, classic asp import script

About the Employer:
( 6 reviews ) Lenexa, United States

Project ID: #21480332

Awarded to:

Gangsong

Hello, I can do it in a short time. I am very professional in vb.net and I have rich experience. Hope to work with you. thanks

$140 USD in 7 days
(1 Review)
2.3
mohjib092

Hi there, Expert here, Sir i have read you r project and it's match with my skills i can provide you quality work on time Can you please come to the chat box so we can easily discuss about project details.. Thank yo More

$200 USD in 2 days
(2 Reviews)
3.1

3 freelancers are bidding on average $160 for this job

AlexeyKala

⭐ No problem ⭐ I have read your description carefully and very interesting for your project. More than 10 years of web development experience and excellent pixel perfect design. And JS (Mean stack and full stack), PHP More

$140 USD in 7 days
(2 Reviews)
4.1