Make JSON requests to wallabag server
After inspecting the requests with wallabag, the only difference I could find was the headers
Fix #2 (closed)
NOK
PATCH /api/entries/8.json HTTP/1.1
Host: read.mart-e.be
User-Agent: Go-http-client/1.1
Content-Length: 13
Authorization: Bearer ...
Accept-Encoding: gzip
{"archive":1}
OK
PATCH /api/entries/8.json HTTP/1.1
Host: read.mart-e.be
User-Agent: python-requests/2.13.0
Accept-Encoding: gzip, deflate
Accept: */*
Connection: keep-alive
Authorization: Bearer ...
Content-Length: 14
Content-Type: application/json
{"archive": 1}
PS: should be green with !3 (merged)