Hi folks,
I'm working on a Micropub client. A user who runs Known with indiepub is encountering an error using my app. Specifically, when their request was successful and I received a 200 OK response, the content-type header was set to application/x-www-form-urlencoded
As per the spec, I expected an application/json response.
Is what's available in the Token.php file correct?
|
header('Content-Type: application/x-www-form-urlencoded'); |
Hi folks,
I'm working on a Micropub client. A user who runs Known with indiepub is encountering an error using my app. Specifically, when their request was successful and I received a
200 OKresponse, thecontent-typeheader was set toapplication/x-www-form-urlencodedAs per the spec, I expected an
application/jsonresponse.Is what's available in the
Token.phpfile correct?indiepub/Pages/IndieAuth/Token.php
Line 67 in ed24711