Forum Discussion

JimmyDXB's avatar
JimmyDXB
Frequent Visitor
3 years ago

Streaming dataset bulk push of JSON data

I have a streaming dataset that I'm sending data to where I want to optimize the usage of the API by pushing several rows of data at a time. I receive the data in 15s intervals, but in batches of ~100 rows and want to push them in bulk rather than one row at a time. Is that possible?

 

When I've tried doing that with data that looks like:

 

 

[
   {
        "temp": 38.7,
        "pressure": 2.6
   },
   {     
        "temp": 32.6,
        "pressure": 2.2
   }
]

 

 

I get a 404 response. Any suggestions for how to implement this?

1 Reply

  • JimmyDXB's avatar
    JimmyDXB
    Frequent Visitor

    Do I need to have each JSON array closed with square brackets [ ] or is this just not possible regardless of formatting?