Multi-threading TCP client with POST

For multithreading you could have a look into this thread
Particle Photon multi blink sample using threads

But without knowing the reason for the need to POST I dare to suggest the alternative use of the TCPClient or UDP libraries.