W3C home > Mailing lists > Public > public-rww@w3.org > July 2012

Re: Using MyProfile from the command line?

From: Kingsley Idehen <kidehen@openlinksw.com>
Date: Sat, 07 Jul 2012 13:23:35 -0400
Message-ID: <4FF87097.30201@openlinksw.com>
To: public-rww@w3.org
On 7/7/12 10:43 AM, Andrei Sambra wrote:
> Hi Melvin,
>
> On 07/07/12 14:44, Melvin Carvalho wrote:
>> Has anyone been able to make a wall post from the command line?  I 
>> tried the following unsuccessfully :
>>
>> echo "user=local&new=1&comment=curltest"  | curl -X POST -E 
>> e.pemhttps://my-profile.eu/wall.php
>>
>> Any ideas?
>>
> I don't think you'll be able to do that, since posting on the wall 
> requires the user to be authenticated through a session. Therefore, 
> your script would first have to authenticate (same link as the WebID 
> button) and save the session cookie, and only then post the message.
>
> Andrei
>
>
>
>

Andrei,

We need to be able to use curl to perform CRUD operations against 
resources accessible to the Web. A wall is just another resource, when 
all is said and done :-)

-- 

Regards,

Kingsley Idehen	
Founder & CEO
OpenLink Software
Company Web: http://www.openlinksw.com
Personal Weblog: http://www.openlinksw.com/blog/~kidehen
Twitter/Identi.ca handle: @kidehen
Google+ Profile: https://plus.google.com/112399767740508618350/about
LinkedIn Profile: http://www.linkedin.com/in/kidehen







Received on Saturday, 7 July 2012 17:23:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 7 July 2012 17:23:59 GMT