Maida Umarnin Curl zuwa lamba mai yiwuwa akan layi

Curl command

Examples: GET - POST - JSON - Basic Auth - Files - Form

Lalacewa zuwa kan layi mai yiwuwa

Wannan kayan aikin yana taimaka muku ƙirƙirar lambar da za ta iya dacewa bisa Umarnin Curl. Kwafi da Manna Umarnin Curl kuma Samar da Mai yiwuwa.

Me za ku iya yi tare da Curl zuwa Mai Canjawar Kan layi?

  • Curl to Mai yiwuwa kayan aiki ne na musamman don canza umarnin curl zuwa buƙatun http na Mai yiwuwa. Shigar da shigarwar yana bayarwa ta umarnin curl mai amfani don samar da Lambobi mai yiwuwa.
  • Wannan kayan aikin yana adana lokacin ku kuma yana taimakawa don samar da lambar da za ta iya yiwuwa cikin sauƙi.
  • Curl to Mai yiwuwa yana aiki da kyau akan Windows, MAC, Linux, Chrome, Firefox, Edge, da Safari.

Menene Curl?

cURL kayan aikin layin umarni ne mai buɗewa wanda ke zazzage fayiloli daga gidan yanar gizo. Yana goyan bayan ka'idoji iri-iri, gami da HTTP, HTTPS, FTP, SFTP, TFTP, Gopher da sauransu.

Ta yaya ake canza Curl zuwa lambar da za ta iya yiwuwa? 

Mataki 1: Manna kuma canza buƙatun Curl ɗin ku zuwa lambar mai yiwuwa.
Mataki 2: Kwafi Lambobin Ma'ana

Maida Curl zuwa Misalin Haihuwa

Karfe
curl example.com
Code mai yiwuwa
-
  name: 'http://example.com'
  uri:
    url: 'http://example.com'
    method: GET
  register: result