Cannot handle PATCH - API v2

sjayapathisjayapathi Registered Users Posts: 4 Beginner grinner
I'm attempting to send a PATCH against an image's Uri. Essentially, I'm trying to set Hidden to true. However, my call returns this error -
500 \SmugMug\REST\IO\HTML cannot handle PATCH

Any idea why?

Comments

  • ktvoelkerktvoelker Registered Users Posts: 25 Big grins
    edited March 24, 2015
    If you add an Accept header to your request, like Accept: application/json, it should work.

    The error message is probably misleading in your situation. I will see if there is something we can do to make this error easier to understand.
    Karl Voelker
    Sorcerer and API Guy at SmugMug
Sign In or Register to comment.