Monitor One Docs

Hi Particle Community,

I'm working on a project using a Particle device and need to send data to a web server. I know I can use the HTTPClient library to make POST requests, but I'm also aware of the Particle.publish function.

  1. What does Particle.publish do that a POST request couldn't?
  2. How does pricing of this work for instance if I only use post requested I would only be limited by my data limit correct?

I'm trying to understand the best use case for each method. Any insights or examples would be greatly appreciated!

Thanks in advance, Naren

We do not recommend using HTTP for several reasons:

  • There is no built-in https library, preventing the use of TLS/SSL for security.
  • Using TLS/SSL on every connection can use an additional 5K of data per connection. The Particle cloud connection uses DTLS which is able to resume the connection with much less overhead.
  • The built-in event system supports queueing events when offline on the Monitor One/Tracker One.
  • Your billing will be based on cellular data usage, not data operations.
1 Like

Ok so I just have to worry about how much data i am using on my sim card i can ignore # of publishes right?

Hi, sadly, they both count:

Paid blocks:

so if you dont fill your publishes to limit you cant really take advantage of the 100mb that is quite annoying

Your billing will be based on cellular data usage, not data operations.

I am slightly confused doesnt this conflict with the snippet from the particle website gus has linked ITT.

If you have no data operations, then the cellular data limit applies.

If you have a combination of both, then the limit is the lower of the data operations limit and the cellular data limit.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.