Receive sensor data from the gateway
POST
/PhantomBigDataBlock
const url = 'http://localhost:80/PhantomService.svc/PhantomBigDataBlock';const options = { method: 'POST', headers: {'Content-Type': 'application/octet-stream'}, body: 'binary'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:80/PhantomService.svc/PhantomBigDataBlock \ --header 'Content-Type: application/octet-stream' \ --data binaryCalled by the gateway, not by you. Receives sensor data as a raw stream and writes it to disk.
Documented so that whoever sets the service up knows the endpoint exists and what reaches it — not for client use.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/octet-stream
string format: binary
Responses
Section titled “Responses”Result code.
Media typeapplication/json
integer
Examplegenerated
1