MINDMAKERS Forum
Welcome, Guest. Please login or register.
September 08, 2010, 02:30:56 PM

Login with username, password and session length
Search:     Advanced search
NB: Spam bots are becoming smarter every day - we had to turn off regular registration. To become member, please send email to Kris Thorisson ([kris'_lastname] att ru dott is).
337 Posts in 99 Topics by 99 Members
Latest Member: peterwit
* Home Help Search Login Register
+  MINDMAKERS Forum
|-+  Projects
| |-+  Psyclone (Moderator: cmlabs)
| | |-+  posting messages using http
« previous next »
Pages: [1] Print
Author Topic: posting messages using http  (Read 1855 times)
mauman
Newbie
*
Posts: 13


View Profile Email
« on: November 27, 2006, 02:26:49 PM »

Hello all,
I'm writing an application based on a whiteboard in which I would like to receive data posted from another application that can only establish tcp/ip connections. That is, I cannot add any code to the other application to incorporate a sending module. The kind of data I would like to send can be represented with strings. In other words, I would like to ask:
1 - is there a way to interface an application with a whiteboard using only tcp/ip sockets?
2 - if not, is it possible to, somehow, "clone" the way the "post_message_page" behaves in order to post messages to a whiteboard using http requests?
Thank you very much,
Maurizio
Logged
mauman
Newbie
*
Posts: 13


View Profile Email
« Reply #1 on: November 28, 2006, 08:17:03 AM »

Well, maybe I've found an answer to my question...  Smiley
I noticed that I can send a request for this page:

http://127.0.0.1:10000/postmessage?radiobutton=sender&checkbox_WB_X=Whiteboard&messagetype=typehere&messagecontent=contenthere&post=post

and the effect will be to send a message to the whiteboard, exactly as if it was sent from an external module...
In this way I can make another application to interact with the whiteboard only through http requests (and only for posting "simple" content, of course).

Maurizio
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!