0

I can't seem to find any reference to the LH command this cURL command uses -- so I'm not entirely certain how to translate it to php

$ curl -LH "Accept: text/bibliography; style=mla; locale=fr-FR" http://dx.doi.org/10.1038/nrd842

4

1 に答える 1

0

curl -LHLはとの 2 つのフラグだけHです。

参照: http://curl.haxx.se/docs/manpage.html

-L= 場所

-H= ヘッダー

コードでは、フラグを-HLスワップするか、引数値をスワップする必要があります。

于 2013-06-25T20:15:43.063 に答える