shamblett / coap

A Coap package for dart
Other
16 stars 13 forks source link

Fix post example #71

Closed JosefWN closed 2 years ago

JosefWN commented 2 years ago

The post example was not using post. I change it to POST to create-large, used it for testing.

... also changed the put example from post to put.

JosefWN commented 2 years ago

Pending https://github.com/shamblett/coap/pull/70, I have also removed the unnecessary exit(0) in the examples which were put in place to work around the bug that said PR fixes.