Skip to content

Commit 4671227

Browse files
committed
support for application/x-www-form-urlencoded
1 parent 62d8184 commit 4671227

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/services/exportMetadata.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function export($export_format, $metadata_json) {
1717
return $res;
1818
};
1919

20-
$json = file_get_contents('php://input');
20+
$json = $_POST['paper'];
2121
$format = (isset($_REQUEST['format'])) ? $_REQUEST['format'] : "bibtex";
2222
$download = (isset($_REQUEST['download'])) ? $_REQUEST['download'] : false;
2323
$result = export($format, $json);

0 commit comments

Comments
 (0)