aboutsummaryrefslogtreecommitdiff
path: root/Tools/px4params/xmlrpc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/px4params/xmlrpc.sh')
-rw-r--r--Tools/px4params/xmlrpc.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tools/px4params/xmlrpc.sh b/Tools/px4params/xmlrpc.sh
new file mode 100644
index 000000000..36c52ff71
--- /dev/null
+++ b/Tools/px4params/xmlrpc.sh
@@ -0,0 +1,5 @@
+python px_process_params.py
+
+rm cookies.txt
+curl --cookie cookies.txt --cookie-jar cookies.txt --user-agent Mozilla/4.0 --data "u=$XMLRPCUSER&p=$XMLRPCPASS" https://pixhawk.org/start?do=login
+curl -k --cookie cookies.txt -H "Content-Type: application/xml" -X POST --data-binary @parameters.wiki "https://pixhawk.org/lib/exe/xmlrpc.php"