]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/WwwAltId.pm
www: call curl with -d '' in the altid instructions
[public-inbox.git] / lib / PublicInbox / WwwAltId.pm
index b90819a2d8a10bf3360facd5f341e65f698914cd..33e6da30daa3b4109c6df1b040851eb1d4f22ad5 100644 (file)
@@ -44,11 +44,11 @@ EOF
                return html_oneshot($ctx, 405, \<<EOF);
 <pre>A POST request required to retrieve $altid_pfx.sql.gz
 
-       curl -XPOST -O $url
+       curl -d '' -O $url
 
 or
 
-       curl -XPOST $url | \\
+       curl -d '' $url | \\
                gzip -dc | \\
                sqlite3 /path/to/$altid_pfx.sqlite3
 </pre>