[Midas] midas rest api

Zach Mullen zach.mullen at kitware.com
Tue Apr 29 17:42:46 EDT 2014


Hi Daniele,

If you're using v3.2.8, you're using our older web API, which isn't truly
restful despite being called "rest". All of those things should simply be
accessed using GET.

We do have a more RESTful API in the newer version of Midas (v3.2.14) if
you want to upgrade to that.

Thanks,


On Tue, Apr 29, 2014 at 5:36 PM, Jean-Christophe Fillion-Robin <
jchris.fillionr at kitware.com> wrote:

> Hi Daniele,
>
> Few comments:
>
> 1)  qMidasAPI has been discontinued in favor or qRestAPI project. See
> https://github.com/commontk/qRestAPI
>
> 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.
>
> Hth
> Jc
>
>
> On Tue, Apr 29, 2014 at 5:24 PM, Daniele <dannox at gmail.com> wrote:
>
>> Dear All,
>> I try to interface a simple app to midas 3.2.8, testing login and stuff
>> like that.
>> With GET all seems to be ok, but when I send a POST or PUT for example to
>> upload a file, it returns error.
>> Can you provide me a sample code of an upload that is working with midas
>> 3.2.8 ?
>> On github I found this sample that is quite interesting, but returns me
>> error as well, and probably is outdated:
>> https://github.com/cpatrick/MidasClient
>>
>> for my initial test I use this commontk code from github as well
>> https://github.com/Slicer/qMidasAPI
>>
>> best regards,
>> daniele
>>
>> _______________________________________________
>> Midas mailing list
>> Midas at public.kitware.com
>> http://public.kitware.com/cgi-bin/mailman/listinfo/midas
>>
>>
>
>
> --
> +1 919 869 8849
>
> _______________________________________________
> Midas mailing list
> Midas at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/midas
>
>


-- 
Zach Mullen
R & D Engineer
Kitware Inc.
919-869-8858
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/midas/attachments/20140429/8cf7d10a/attachment-0002.html>


More information about the Midas mailing list