Y
Y a h y a
Guest
Hi
In my token string I am getting extra \" on both ends and this fails subsequent calls to remote API for data. Even though I am using
oauthToken1 = oauthToken2.Replace("\\\"", "");
to strip \" from both ends. Screen 1 below.
The Output window however shows string fine. Screen 2 below.
At present I manually edit out the \" from both ends in Watch window and get the subsequent API calls to succeed.
How can I get rid of \" on both ends please and why do they appear in the first place?
Thanks
Regards
Screen 1
![1616869.png 1616869.png](https://www.computerhelp.forum/data/attachments/57/57688-fbe5c6e37bb05224f462f1a6f8994f95.jpg?hash=--XG43uwUi)
Screen 2
![1616870.png 1616870.png](https://www.computerhelp.forum/data/attachments/57/57689-d4b6a0d9e34b42e66c2758a98202d790.jpg?hash=1Lag2eNLQu)
Continue reading...
In my token string I am getting extra \" on both ends and this fails subsequent calls to remote API for data. Even though I am using
oauthToken1 = oauthToken2.Replace("\\\"", "");
to strip \" from both ends. Screen 1 below.
The Output window however shows string fine. Screen 2 below.
At present I manually edit out the \" from both ends in Watch window and get the subsequent API calls to succeed.
How can I get rid of \" on both ends please and why do they appear in the first place?
Thanks
Regards
Screen 1
![1616869.png 1616869.png](https://www.computerhelp.forum/data/attachments/57/57688-fbe5c6e37bb05224f462f1a6f8994f95.jpg?hash=--XG43uwUi)
Screen 2
![1616870.png 1616870.png](https://www.computerhelp.forum/data/attachments/57/57689-d4b6a0d9e34b42e66c2758a98202d790.jpg?hash=1Lag2eNLQu)
Continue reading...