gurock / testrail-api

TestRail API: Examples on how to use TestRail's API from various languages
Other
116 stars 87 forks source link

Unexpected character encountered while parsing value: �. Path '', line 0, position 0. #36

Closed yfrindel closed 2 years ago

yfrindel commented 2 years ago

Hi,

with the following code :

image

I have the following error :

image

image

the attachment id is correct, and the authentication is correct too. If I call the same API direcly with the same attachment ID it works : image

could you help me please?

and could you also tell me how to download the picture? (am I to serialize or deserialize something?)

Thanks

yfrindel commented 2 years ago

Other problem, the "SendGet method doesn't accept a 2nd argument, like the example in the documentation : image image

yfrindel commented 2 years ago

Forgot my post, visibly it was due to a wrong package nugget installed. With the 2 classes directly integrated in my project it works !