How to complete a HTTP POST from a Device Handler

@THeBingoKing, Just to add @orangebucket’s comment above. The Globe Suite integration is not ready yet. People are waiting for it for months. When it would be ready you could add Tuya devices to ST.

Otherwise, I wouldn’t post that much detailed code here. If you haven’t changed some part of it, then you just gave out a link to control your plug…
But I guess that method would use some sort of authentication like OAuth, so you need that for your DH too.

Some links regarding HTTP POST.