botletics / SIM7000-LTE-Shield

Botletics SIM7000 LTE CAT-M1/NB-IoT Shield for Arduino
https://www.botletics.com/products/sim7000-shield
GNU General Public License v3.0
483 stars 215 forks source link

Dweet.io not displaying the content that I am sending #307

Closed TobyNorthrup closed 2 years ago

TobyNorthrup commented 2 years ago

I am having an issue with dweet.io. When I send an HTTP post it displays the post but not the content that I am sending.

In Image 1 there is a screenshot of the Dweet.io link that has the correct url + Imei # of my unit that I use in my code. In Image 2 there is the screenshot of the the serial monitor response to the the post. These images were taken right after the first HTTP post was sent.

Screenshot 2022-07-19 162557 Screenshot 2022-07-19 162610

Do you have any idea why this might be happening?

botletics commented 2 years ago

You're using the wrong URL in the browser to query what you posted. You're probably using dweet.io/dweet/for/{IMEI} instead of using dweet.io/get/latest/dweet/for/{IMEI}. The first way would do a GET request with no content, whereas the second would check to see if there's anything that was sent to dweet.

TobyNorthrup commented 2 years ago

Thank you! This worked.