Movatterモバイル変換


[0]ホーム

URL:


everything curl

    Convert to GET

    A little convenience feature that could be suitable to mention in this contextis the-G or--get option, which takes all data you have specified withthe different-d variants and appends that data to the inputted URLe.g.http://example.com separated with a '?' and then makes curl send aGET instead.

    This option makes it easy to switch between POSTing and GETing a form, forexample.

    An example that adds an encoded piece of data as a query in the URL:

    curl -G --data-urlencode "name=daniel stenberg" https://example.com/

    [8]ページ先頭

    ©2009-2025 Movatter.jp