This website works better with JavaScript.
Home
Explore
Help
Sign In
p3k
/
Quill
mirror of
https://github.com/aaronpk/Quill.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
send accept json header
pull/96/head
Aaron Parecki
7 years ago
parent
e590c95c9f
commit
3de5d93457
No known key found for this signature in database
GPG Key ID:
276C2817346D6056
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
lib/helpers.php
+ 1
- 0
lib/helpers.php
View File
@ -136,6 +136,7 @@ function micropub_post($endpoint, $params, $access_token, $file_path = NULL, $js
}
if
(
!
$file_path
)
{
$httpheaders
[]
=
'Accept: application/json'
;
if
(
$json
)
{
// $params['access_token'] = $access_token;
$httpheaders
[]
=
'Content-type: application/json'
;
Write
Preview
Loading…
Cancel
Save