<div dir="ltr"><div>Hi Daniele, <br><br></div>Few comments:<br><div><br>1) qMidasAPI has been discontinued in favor or qRestAPI project. See <a href="https://github.com/commontk/qRestAPI">https://github.com/commontk/qRestAPI</a><br>
<br></div><div>2) Midas team will confirm but MIDASClient project development has been discontinued. If you are writing a Qt based application, directly calling the midas API using qRestAPI should work well.<br><br></div>
<div>Hth<br></div><div>Jc<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 29, 2014 at 5:24 PM, Daniele <span dir="ltr"><<a href="mailto:dannox@gmail.com" target="_blank">dannox@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">Dear All,</span><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
I try to interface a simple app to midas 3.2.8, testing login and stuff like that.</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px">With GET all seems to be ok, but when I send a POST or PUT for example to </div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
upload a file, it returns error.</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Can you provide me a sample code of an upload that is working with midas 3.2.8 ?</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
On github I found this sample that is quite interesting, but returns me error as well, and probably is outdated:</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><a href="https://github.com/cpatrick/MidasClient" target="_blank">https://github.com/cpatrick/MidasClient</a></div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">for my initial test I use this commontk code from github as well</div>
<div><font face="arial, sans-serif"><a href="https://github.com/Slicer/qMidasAPI" target="_blank">https://github.com/Slicer/qMidasAPI</a></font><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<br>
</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">best regards,</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">daniele</div>
</div>
<br>_______________________________________________<br>
Midas mailing list<br>
<a href="mailto:Midas@public.kitware.com">Midas@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/midas" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/midas</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>+1 919 869 8849<br>
</div>