Http Post to Server

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Http Post to Server

Arindam Chatterjee
Hi,
I am new to this and tried searching for plugins & utilities through the
archives for an http post ability from ImageJ. Can someone point me to
anything that might have already been developed or do I need to write a
script to get something like that done? Basically once the image is
captured, I need to post it to a web server running PHP to take the image
and store it. I am running ImageJ as an applet.

 

Thanks in advance and apologies if this has already been discussed.

 

Arindam
Reply | Threaded
Open this post in threaded view
|

Re: Http Post to Server

dscho
Hi Arindam,

On Thu, 1 Mar 2012, Arindam Chatterjee wrote:

> I am new to this and tried searching for plugins & utilities through the
> archives for an http post ability from ImageJ. Can someone point me to
> anything that might have already been developed or do I need to write a
> script to get something like that done? Basically once the image is
> captured, I need to post it to a web server running PHP to take the
> image and store it. I am running ImageJ as an applet.

There is a MediaWiki client in the Fiji distribution which has to do that.
See

        http://fiji.sc/MediaWikiClient.java

and look for the sendRequest method (unfortunately it is not a minimal
example code, but it does include code to upload files which is a bit...
special).

Ciao,
Johannes
Reply | Threaded
Open this post in threaded view
|

Re: Http Post to Server

Arindam Chatterjee
Thank you for pointing me to a possible solution Johannes. I will take a look and see if that will work.

Thanks again!

Arindam

On Mar 2, 2012, at 8:52 AM, Johannes Schindelin <[hidden email]> wrote:

> Hi Arindam,
>
> On Thu, 1 Mar 2012, Arindam Chatterjee wrote:
>
>> I am new to this and tried searching for plugins & utilities through the
>> archives for an http post ability from ImageJ. Can someone point me to
>> anything that might have already been developed or do I need to write a
>> script to get something like that done? Basically once the image is
>> captured, I need to post it to a web server running PHP to take the
>> image and store it. I am running ImageJ as an applet.
>
> There is a MediaWiki client in the Fiji distribution which has to do that.
> See
>
>    http://fiji.sc/MediaWikiClient.java
>
> and look for the sendRequest method (unfortunately it is not a minimal
> example code, but it does include code to upload files which is a bit...
> special).
>
> Ciao,
> Johannes