We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f104583 commit ca040b8Copy full SHA for ca040b8
src/Supabase.php
@@ -50,7 +50,7 @@ protected function grab(string $url, string $method, ?string $data=null)
50
$ch = curl_init();
51
curl_setopt_array($ch, $options);
52
if(isset($data)){
53
- curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
+ curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
54
}
55
$html = curl_exec($ch);
56
return $html;
0 commit comments