正在尝试使用cURL发送此表单POST请求

正在尝试使用cURL发送此表单POST请求,curl,post,Curl,Post,如何使用curl发送此请求?不确定这里的问题到底是什么: 你试过阅读吗 你找到如何模仿表单了吗? 在curl中尝试-F或-form。所有示例都在上,包括图像 您是否理解您的HTML代码以及它作为POST将代表什么?(如果不是,请尝试阅读一些表单教程) <form method="POST" action="https://testnet.demo.example.org/api/v1/invoices" class="btcpay-form btcpay-form--block" id

如何使用curl发送此请求?

不确定这里的问题到底是什么:

  • 你试过阅读吗

  • 你找到如何模仿表单了吗? 在curl中尝试
    -F
    -form
    。所有示例都在上,包括图像

  • 您是否理解您的HTML代码以及它作为POST将代表什么?(如果不是,请尝试阅读一些表单教程)

<form method="POST" action="https://testnet.demo.example.org/api/v1/invoices" class="btcpay-form btcpay-form--block" id='btc'>
  <input type="hidden" name="storeId" value="FG7Zz9dtP7DYvEUDq73K59EKvjMWox7nvnUhfCGMKsux" />
   <input type="hidden" name="price" value="10" />
  <br>
  <input type="hidden" name="currency" value="USD" />
  <input type="image" class="submit" name="submit" src="http://www.pngmart.com/files/3/Submit-Button-PNG-Clipart.png" style="width:209px" alt="">
 </form>