incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From naxos <>
Subject POST request to Edit.jsp
Date Mon, 11 Jul 2011 17:11:54 GMT

I have a shell script that should generate the wiki page in a n automated

The problem I have is after I authenticate I'm getting an error:
Oops!  Someone modified the page while you were editing it!

Is there a way to autmate this using bash scripting?


Step 1:

curl -k -c cookie.txt \
--user-agent "Mozilla/4.0 POST" \
\ -v

Step 2:

curl --location --cookie cookie.txt --cookie-jar \
cookie.txt --user-agent "Mozilla/4.0 POST" \
--data "j_username=orailean&j_password=0l1.V3r.S0r.1n%21" \ -v

Step 3:

View this message in context:
Sent from the JspWiki - User mailing list archive at

View raw message