$ curl -v -XPOST -d 'action=edit&format=json&formatversion=2&title=Probna&text=yey' localhost:8080/w/api.php < HTTP/1.1 200 OK < Date: Tue, 09 Jun 2015 10:43:03 GMT * Server Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.9 is not blacklisted < Server: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.9 < X-Powered-By: HHVM/3.6.1 < X-Content-Type-Options: nosniff < Cache-control: private, must-revalidate, max-age=0 < MediaWiki-API-Error: notoken < X-Frame-Options: DENY < Transfer-Encoding: chunked < Content-Type: application/json; charset=utf-8 < * Connection #0 to host localhost left intact {"error":{"code":"notoken","info":"The token parameter must be set","docref":"See http://localhost:8080/w/api.php for API usage"}}