Mighty Monsterwheelies: Syd can tell that Gill E. Creature wants to play fetch when she saw her with her soccer ball.
#mightymonsterwheelies #persona #soccerball #actinglikeadog #fetch
Our cat thinks she a dog

PeerTube
First day it's above 45f. Time for the first game of fetch in the back yard of 2026.
#dogs #fetch

[Перевод] Выполнение HTTP-запросов в Node.js

Долгое время я использовал пакет request (теперь устаревший) для выполнения HTTP-запросов в Node.js. Затем в моду вошли промисы (promises), и я переключился на request-promise (также ныне устаревший). Затем я начал использовать axios и думал, что на этом все... но ошибался. История HTTP в Node.js продолжает эволюционировать, и это прекрасно. Выполнение запросов HTTP - одна из самых распространенных задач в Node.js. Будь то обращение к API, получение данных из внешнего сервиса или разработка веб-скрейпера (scraper), важно знать, как делать это эффективно. Хорошая новость состоит в том, что начиная с Node.js 18 в качестве глобальной переменной доступен стандартный fetch() . Если вы использовали fetch() в браузере, то уже знаете, как использовать его на сервере. Никаких дополнительных зависимостей, никаких оберток, только тот же знакомый API, предоставляющий все необходимое для выполнения запросов HTTP современным способом в Node.js.

https://habr.com/ru/articles/1003750/

#nodejs #nodejs #javascript #js #fetch #http #https #undici #request #запрос

Выполнение HTTP-запросов в Node.js

Долгое время я использовал пакет request (теперь устаревший) для выполнения HTTP-запросов в Node.js. Затем в моду вошли промисы (promises), и я переключился на request-promise (также ныне устаревший)....

Хабр

I've read the article with keen interest. Keep up the great work on curl @bagder

#curl #get #programming #technology #fetch #networking #https #http #ftp #OpenSource #POSIX #BSD #freeBSD #ghostBSD #openBSD #Linux #win64 #mac

🦋💙❤️💋#Lobi 💙💕🌹💐💙🦋

My interaction with the wonderful program curl is typical of my interaction with all Open Source programs which I use.

  • I first type in the command after which I sent a CR LF {carriage return line feed}.
  • I watch the output
  • I type curl --help
  • I type man curl

A swiss army knife for downloading has extensive manpages

  • I'm referred to man libcurl(3) {in MX Linux}
  • I type man libcurl
  • BecauseI did not install libcurl-devel on this small installation the manpage for libcurl(3) is not local
  • I read the manpage (online)
  • I distill what I need from curl and implement it

I know the basics of curl for my own use

  • this method can be used with all commands
  • it's a logical and systematic method
  • it will work until the end of Terra

Z

#curl #get #programming #technology #fetch #networking #https #http #ftp #OpenSource #POSIX #BSD #freeBSD #ghostBSD #openBSD #Linux #win64 #mac

curl libcurl

Just in case you have forgotten how to curl a file from a server here's a extensive howto

-L redirect
https://everything.curl.dev/http/browserlike.html?highlight=-L#redirects

-o filename
https://everything.curl.dev/usingcurl/downloads/url-named.html#download-to-a-file-named-by-the-url

-C - resume
https://everything.curl.dev/usingcurl/downloads/resume.html#resuming-and-ranges

curl --verbose -C - -L -o lp_someband_some_name_disc1side2.flac archive.org/download/lp_someband_somename-v/disc1/lp_someband_somename_disc1side2.flac

#curl #get #programming #fetch #networking #https #http #ftp #technology #OpenSource #POSIX #BSD #freeBSD #ghostBSD #openBSD #Linux #win64 #mac

Scripting browser-like tasks - everything curl

everything there is to know about curl, libcurl and the cURL project

curl libcurl

Just in case you have forgotten how to curl a file from a server here's a extensive howto with screenshots

`-L` redirect
https://everything.curl.dev/http/browserlike.html?highlight=-L#redirects

`-o` filename
https://everything.curl.dev/usingcurl/downloads/url-named.html#download-to-a-file-named-by-the-url

`-C -` resume
https://everything.curl.dev/usingcurl/downloads/resume.html#resuming-and-ranges

`curl --verbose -C - -L -o lp_someband_some_name_disc1side2.flac archive.org/download/lp_someband_somename-v/disc1/lp_someband_somename_disc1side2.flac`

#curl #get #programming #technology #fetch #networking #https #http #ftp #OpenSource #POSIX #BSD #freeBSD #ghostBSD #openBSD #Linux #win64 #mac

How to Stop fetch From Hanging Forever

fetch has no timeout by default.

#javascript #fetch #timeout #howto #network #performance

https://www.youtube.com/watch?v=TpLjmt2oRSM

How to Stop fetch From Hanging Forever #timeout

YouTube

Ooooh, fcuk, it is even worse. I do a JavaScript fetch request. Internally it notices that it needs to do its CORS OPTIONS magic first. That one fails with a 404, as the developer tools show. But the fetch request itself fails. No, it does not come back with a 404 response. It just fails the fetch with

TypeError: Failed to fetch

This even though the OPTIONS response says

Access-Control-Allow-Origin *

beside the 404. This is baaaad!

#cors #http #fetch