summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fb.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/fb.in b/fb.in
index f3e36c2..06fa4e2 100644
--- a/fb.in
+++ b/fb.in
@@ -96,7 +96,7 @@ request_helper() {
require_executable curl
if [ -e "$apikey_file" ]; then
- curlopts+=("--data-urlencode" "apikey@${apikey_file}")
+ curlopts+=("-F" "apikey=<${apikey_file}")
else
curlopts+=("-n")
fi