​PUT and POST are methods capsulated in the HTTP requests​, IMO they have
no much difference from API perspective, however you should reference the
oneiota <https://oneiota.org/> data model or the OCF resource type spec to
have the right meaning for these operations. In general, PUT is used for
creating resources, POST is used for updating properties in the resources.
FYI.

Regards,
Tonny

On 31 October 2017 at 16:24, sunlf <[email protected]> wrote:

> Hi, devs,
>
>
>
> For C++ API, here are 2 functions, PUT and POST.
>
>
>
> What’s the difference between these 2?
>
>
>
> Thanks
>
>
>
> Jason Sun
>
> _______________________________________________
> iotivity-dev mailing list
> [email protected]
> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>
>
_______________________________________________
iotivity-dev mailing list
[email protected]
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to