diff options
Diffstat (limited to 'lib/helpers.php')
-rw-r--r-- | lib/helpers.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/helpers.php b/lib/helpers.php index c8d4e0e..bfd0629 100644 --- a/lib/helpers.php +++ b/lib/helpers.php @@ -140,6 +140,7 @@ function micropub_post($endpoint, $params, $access_token, $file = NULL, $json = } if(!$file_path) { + $httpheaders[] = 'Accept: application/json'; if($json) { // $params['access_token'] = $access_token; $httpheaders[] = 'Content-type: application/json'; |