reddift icon indicating copy to clipboard operation
reddift copied to clipboard

[PATCH] /api/v1/me/prefs does not work.

Open sonsongithub opened this issue 10 years ago • 0 comments

Comment

PREFS_VALIDATORS does not work...? code

Response

code = 400
{"fields": ["json"], "explanation": "unable to parse JSON data", "reason": "JSON_PARSE_ERROR"}

Curl

curl --header "Authorization: bearer<token> \
    'https://oauth.reddit.com//api/v1/me/prefs' \
    -X PATCH
    -d "{\"clickgadget\":true}"

References

  1. "api/v1/me/blocked" broken?
  2. reddit.com

sonsongithub avatar Nov 14 '15 22:11 sonsongithub