You're viewing old version number 2. - Current version
Junco Curl testing
Logging in
curl -i -d "email=test@test.com&password=strongpass" http//jothut.com/cgi-bin/app.pl/login
Successful login returned response:
HTTP/1.1 302 Found
Date: Sun, 13 Oct 2013 22:36:35 GMT
Server: Apache
Set-Cookie: juncouserid=3; domain=.jothut.com; path=/
Set-Cookie: juncousername=testusername; domain=.jothut.com; path=/
Set-Cookie: juncosessionid=G9GmYO9RGVym6Q0ovemzWw; domain=.jothut.com; path=/
Set-Cookie: juncocurrent=1; domain=.jothut.com; path=/
Location: /cgi-bin/app.pl/blogpost/19
Content-Length: 0
Content-Type: text/x-perl
Add Webmention
curl -i -d "source=$your_url&target=$target_url" $targets_webmention_endpoint
Returns JSON.
Example return of adding an already existing webmention:
HTTP/1.1 404 Bad Request
Date: Fri, 04 Oct 2013 17:51:28 GMT
Server: Apache
Transfer-Encoding: chunked
Content-Type: application/json
{
"error": "already_registered",
"error_description": "The specified WebMention has already been registered."
}
From JR's : articles
95 words - 1006 chars
created on
updated on
- #
source
- versions
Related articles
Junco Curl testing - Nov 19, 2013
In Progress - Junco end-user testing - Oct 17, 2013
Valid chars in Junco attributes - Oct 12, 2013