Accessing snap socket via rest api

which I’ve already shown you, with an example, which you said worked:

so what is it that doesn’t work, now?