Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F176793
MW API errors
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
mobrovac
Jun 9 2015, 10:44 AM
2015-06-09 10:44:13 (UTC+0)
Size
723 B
Referenced Files
None
Subscribers
None
MW API errors
View Options
```
$ 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"}}
```
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
170464
Default Alt Text
MW API errors (723 B)
Attached To
Mode
P747 MW API errors
Attached
Detach File
Event Timeline
Log In to Comment