You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 14, 2024. It is now read-only.
Describe the bug
The library is only taking into account getting JSON content. Therefore when obtaining XML content an exception is being generated.
To Reproduce
Point to a Logic App whose body content is either input or output in XML format
Expected behavior
Do not raise deserialization exception when XML content is required
Additional context
Exception: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
Call Stack: at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.Linq.JToken.ReadFrom(JsonReader reader, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JToken.Parse(String json, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JToken.Parse(String json)
at Invictus.Testing.LogicApps.LogicAppsProvider.d__23.MoveNext() in ...\Repos\testing-framework\src\Invictus.Testing.LogicApps\LogicAppsProvider.cs:line 306
Method: private static async Task GetHttpJsonStringAsync(string uri)
Line: return JToken.Parse(json);