You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Daniel Baker <in...@collisiondetection.biz> on 2019/12/29 20:29:01 UTC

add file to wb by curl example

Hi Maxim,


Can you save me the agony  of  working this out  and  show me how to do 
this  with  curl.

https://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/FileWebService.html#add(java.lang.String,org.apache.openmeetings.db.dto.file.FileItemDTO,java.io.InputStream)


Thanks,


Dan


Re: add file to wb by curl example

Posted by Daniel Baker <in...@collisiondetection.biz>.
Yes  I can  confirm that.

On 12/30/2019 7:26 AM, Maxim Solodovnik wrote:
> This functionality worksd as expected in OM Moodle plugin :)
>
> On Mon, 30 Dec 2019 at 14:24, Daniel Baker 
> <info@collisiondetection.biz <ma...@collisiondetection.biz>> wrote:
>
>     Yes  I have  that .  Ok that  should  be  enough  for the
>     developer  to fix  it  for  OM 5  plus  OM moodle  plugin.
>
>     On 12/30/2019 6:40 AM, Maxim Solodovnik wrote:
>>     Unfortunately it's not easy to help here
>>     I have used REST PHP API to test it
>>
>>     On Mon, 30 Dec 2019 at 03:29, Daniel Baker
>>     <info@collisiondetection.biz
>>     <ma...@collisiondetection.biz>> wrote:
>>
>>         Hi Maxim,
>>
>>
>>         Can you save me the agony  of  working this out  and show me
>>         how to do
>>         this  with  curl.
>>
>>         https://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/FileWebService.html#add(java.lang.String,org.apache.openmeetings.db.dto.file.FileItemDTO,java.io.InputStream)
>>
>>
>>         Thanks,
>>
>>
>>         Dan
>>
>>
>>
>>     -- 
>>     WBR
>>     Maxim aka solomax
>
>
>
> -- 
> WBR
> Maxim aka solomax

Re: add file to wb by curl example

Posted by Maxim Solodovnik <so...@gmail.com>.
This functionality worksd as expected in OM Moodle plugin :)

On Mon, 30 Dec 2019 at 14:24, Daniel Baker <in...@collisiondetection.biz>
wrote:

> Yes  I have  that .  Ok that  should  be  enough  for the developer  to
> fix  it  for  OM 5  plus  OM moodle  plugin.
> On 12/30/2019 6:40 AM, Maxim Solodovnik wrote:
>
> Unfortunately it's not easy to help here
> I have used REST PHP API to test it
>
> On Mon, 30 Dec 2019 at 03:29, Daniel Baker <in...@collisiondetection.biz>
> wrote:
>
>> Hi Maxim,
>>
>>
>> Can you save me the agony  of  working this out  and  show me how to do
>> this  with  curl.
>>
>>
>> https://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/FileWebService.html#add(java.lang.String,org.apache.openmeetings.db.dto.file.FileItemDTO,java.io.InputStream)
>>
>>
>> Thanks,
>>
>>
>> Dan
>>
>>
>
> --
> WBR
> Maxim aka solomax
>
>

-- 
WBR
Maxim aka solomax

Re: add file to wb by curl example

Posted by Daniel Baker <in...@collisiondetection.biz>.
Yes  I have  that .  Ok that  should  be  enough  for the developer  to 
fix  it  for  OM 5  plus  OM moodle  plugin.

On 12/30/2019 6:40 AM, Maxim Solodovnik wrote:
> Unfortunately it's not easy to help here
> I have used REST PHP API to test it
>
> On Mon, 30 Dec 2019 at 03:29, Daniel Baker 
> <info@collisiondetection.biz <ma...@collisiondetection.biz>> wrote:
>
>     Hi Maxim,
>
>
>     Can you save me the agony  of  working this out  and  show me how
>     to do
>     this  with  curl.
>
>     https://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/FileWebService.html#add(java.lang.String,org.apache.openmeetings.db.dto.file.FileItemDTO,java.io.InputStream)
>
>
>     Thanks,
>
>
>     Dan
>
>
>
> -- 
> WBR
> Maxim aka solomax

Re: add file to wb by curl example

Posted by Maxim Solodovnik <so...@gmail.com>.
Unfortunately it's not easy to help here
I have used REST PHP API to test it

On Mon, 30 Dec 2019 at 03:29, Daniel Baker <in...@collisiondetection.biz>
wrote:

> Hi Maxim,
>
>
> Can you save me the agony  of  working this out  and  show me how to do
> this  with  curl.
>
>
> https://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/FileWebService.html#add(java.lang.String,org.apache.openmeetings.db.dto.file.FileItemDTO,java.io.InputStream)
>
>
> Thanks,
>
>
> Dan
>
>

-- 
WBR
Maxim aka solomax