As far as I know this forum no forum-member has a glas-sphere that is able to read your mind.
Not everybody knows what painless mesh is
post a link to the description
nobody knows except you what your http get looks like in detail
post a link to your smarthome-API
or
post an example how the http-get looks like.
I'm pretty sure that you agree and will follow the way how to solve your problem mimimum 200 minutes faster.
This requires to invest 20 minutes of your precious time to read how to speedup solving your problems.
Directly after registering you got presented informations how to speed up solving your problem.
You should really read it.
best regards Stefan