How to send a header using a HTTP request through a curl call?

后端 未结 10 1319
梦如初夏
梦如初夏 2020-11-22 16:45

I wish to send a header to my Apache server on a Linux box. How can I achieve this via a curl call?

10条回答
  •  逝去的感伤
    2020-11-22 17:20

    I use Postman.

    Execute whatever call you want to do. Then, postman provides a handy tool to show the curl code .

    Run it in the terminal.

提交回复
热议问题