I am passing the same headers as with the gateway client only extra header that i am passing is the cxrf token as it is handled in Gateway client itself.
The POST from the rest client is also working and in the create stream i am getting the xstring values which i am saving. The problem is with the get the same is not returned only in case of xlsx.
What i could find is that the value of the xstring that i get in the create stream is different in case of gateway client and the rest client.
I have a FM to just load file from desktop. the xtring value i get from this fm is same as the xtring i get from gateway client.
But in case of rest client the xtrsing has a toaltal different value.