-
Notifications
You must be signed in to change notification settings - Fork 0
Receive Transmission Route
Jason Wang edited this page May 3, 2018
·
1 revision
Save Transmission in Database
URL : /equisat/receive
Method : POST
Request Body Format
{
"corrected": "Corrected Hex String to be parsed",
"raw": "Original Hex String",
"station_name": "String of where transmission was received"
}Note that station_name is an optional field.
FOR TESTING PURPOSES ONLY: You can attach already parsed full JSON data onto a property called transmission onto the request body.
Condition : Data provided is valid and Transmission is saved.
Code : 201 OK
Condition : If provided data is invalid, e.g. a field is missing or wrong format.
Code : 400 BAD REQUEST or 500 Internal Server Error