Skip to content

Commit 61a907d

Browse files
authored
Исправление ошибки в примере (#1152)
Close #1151
1 parent d8246ae commit 61a907d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

language/context/http.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,9 @@ $postdata = http_build_query(
225225
226226
$opts = [
227227
'http' => [
228-
'method' => 'GET',
229-
'max_redirects' => '0',
230-
'ignore_errors' => '1',
228+
'method' => 'POST',
229+
'header' => 'Content-type: application/x-www-form-urlencoded',
230+
'content' => $postdata,
231231
]
232232
];
233233

0 commit comments

Comments
 (0)