I am trying to get some message from a specific topic using REST API. Lets say, i have a retained message A on topic B, if I use POST /pull - as mentioned in the link “https://support.asplhosting.com/t/rest-api-to-manage-myqtthub-service/”, am I supposed to get the message A in response, or am I getting things wrong somewhere? I have log in and subscribe to the topic using the same tokenid, and all are ok, but when i try /pull, the server respond me with an empty string!
Thank you for your time.
You are right. After subscribe through the Web API you should receive any retained message matching that topic so the can be pulled as you describe.
We have applied several changes so now it works as expected.
Great work! Now it works perfectly. Thanks for your support!