Maida umarnin CURL zuwa lambar Node Got akan layi

Curl command

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

CURL zuwa Node Ya Samu Kan layi

Wannan kayan aikin yana taimaka muku ƙirƙirar lambar Node Got bisa umarnin CURL. Kwafi da liƙa umarnin CURL kuma ƙirƙirar Node Got.

Me zaku iya yi tare da CURL zuwa Node Got mai sauya kan layi?

  • CURL zuwa Node Got kayan aiki ne na musamman don canza umarnin CURL zuwa Node Got buƙatun Node Got. Shigar da shigarwar ta hanyar umarnin CURL na mai amfani don samar da lambar Node Got.
  • Wannan kayan aikin yana adana lokacinku kuma yana taimakawa ƙirƙirar lambar Node Got cikin sauƙi.
  • CURL zuwa Node Got 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 Node Got, Node GotS, FTP, SFTP, TFTP, Gopher da sauransu.

Ta yaya ake canza CURL zuwa lambar Node Got? 

Mataki 1: Manna kuma canza buƙatun CURL ɗin ku zuwa lambar Node Got

Mataki 2: Kwafi Node Got code

Maida CURL zuwa Node Got misali

CURL
curl example.com
Node samu
import got from 'got';

const response = await got('http://example.com');