matthew
1
Greetings! I have a POST DATA like this.
<?xml version="1.0" encoding="UTF-8"?><AuthToken xmlns="http://schema.intuit.com/platform/integration/identity/authToken/v2" xmlns:cm="http://schema.intuit.com/fs/common/v2"><requestChannel>MOBILE_APP</requestChannel><credential><cm:loginId>hhhhh</cm:loginId><cm:password>fffggg</cm:password></credential><mfaInfo><computerPrivate>true</computerPrivate></mfaInfo></AuthToken>
But OB2 doesn’t want to accept it

matthew
3
I paste this code and get this error

string topost = $"<?xml version="1.0" encoding="UTF-8"?><AuthToken xmlns="http://schema.intuit.com/platform/integration/identity/authToken/v2" xmlns:cm="http://schema.intuit.com/fs/common/v2"><requestChannel>MOBILE_APP</requestChannel><credential><cm:loginId>{input.USERNAME}</cm:loginId><cm:password>{input.PASSWORD}</cm:password></credential><mfaInfo><computerPrivate>true</computerPrivate></mfaInfo></AuthToken>";
Ruri
4
You have to escape all the double quotes inside the string (except for the first and last one of course)
string topost = $"<?xml version=\"1.0\" encoding=\"UT (etc...)