#fetchapi — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #fetchapi, aggregated by home.social.
-
Turns out, the easiest way to convert a "data:" URL to a JavaScript Blob object is not to split the URL into mime type, encoding, and data, and then, based on the encoding, do some wild atob() shenanigans
but instead
fetch(data_url).then(res => res.blob()).then(blob => …)
🙈 😂
-
Turns out, the easiest way to convert a "data:" URL to a JavaScript Blob object is not to split the URL into mime type, encoding, and data, and then, based on the encoding, do some wild atob() shenanigans
but instead
fetch(data_url).then(res => res.blob()).then(blob => …)
🙈 😂
-
Turns out, the easiest way to convert a "data:" URL to a JavaScript Blob object is not to split the URL into mime type, encoding, and data, and then, based on the encoding, do some wild atob() shenanigans
but instead
fetch(data_url).then(res => res.blob()).then(blob => …)
🙈 😂
-
Turns out, the easiest way to convert a "data:" URL to a JavaScript Blob object is not to split the URL into mime type, encoding, and data, and then, based on the encoding, do some wild atob() shenanigans
but instead
fetch(data_url).then(res => res.blob()).then(blob => …)
🙈 😂
-
Turns out, the easiest way to convert a "data:" URL to a JavaScript Blob object is not to split the URL into mime type, encoding, and data, and then, based on the encoding, do some wild atob() shenanigans
but instead
fetch(data_url).then(res => res.blob()).then(blob => …)
🙈 😂
-
#Development #Explorations
Forbidden request headers · Some request headers are more trustworthy than others https://ilo.im/16333j_____
#Specification #HttpHeaders #Browser #JavaScript #FetchAPI #XMLHttpRequest #CloudflareWorker #WebDev #Frontend #Backend -
#Development #Explorations
Forbidden request headers · Some request headers are more trustworthy than others https://ilo.im/16333j_____
#Specification #HttpHeaders #Browser #JavaScript #FetchAPI #XMLHttpRequest #CloudflareWorker #WebDev #Frontend #Backend -
#Development #Explorations
Forbidden request headers · Some request headers are more trustworthy than others https://ilo.im/16333j_____
#Specification #HttpHeaders #Browser #JavaScript #FetchAPI #XMLHttpRequest #CloudflareWorker #WebDev #Frontend #Backend -
#Development #Explorations
Forbidden request headers · Some request headers are more trustworthy than others https://ilo.im/16333j_____
#Specification #HttpHeaders #Browser #JavaScript #FetchAPI #XMLHttpRequest #CloudflareWorker #WebDev #Frontend #Backend -
I'm trying to track down a weird issue with using #streams as request body for #fetchapi requests in the #browser. After the first chunk is read, the connection stalls and the server never receives any data. It seems to be related to #http3 / #quic. When I downgrade the http reverse proxy to #http2, it works fine.
Has anyone experienced this too? Are streaming request bodies not compatible with http3? (as currently implemented in #chromium)
-
I'm trying to track down a weird issue with using #streams as request body for #fetchapi requests in the #browser. After the first chunk is read, the connection stalls and the server never receives any data. It seems to be related to #http3 / #quic. When I downgrade the http reverse proxy to #http2, it works fine.
Has anyone experienced this too? Are streaming request bodies not compatible with http3? (as currently implemented in #chromium)
-
I'm trying to track down a weird issue with using #streams as request body for #fetchapi requests in the #browser. After the first chunk is read, the connection stalls and the server never receives any data. It seems to be related to #http3 / #quic. When I downgrade the http reverse proxy to #http2, it works fine.
Has anyone experienced this too? Are streaming request bodies not compatible with http3? (as currently implemented in #chromium)
-
I'm trying to track down a weird issue with using #streams as request body for #fetchapi requests in the #browser. After the first chunk is read, the connection stalls and the server never receives any data. It seems to be related to #http3 / #quic. When I downgrade the http reverse proxy to #http2, it works fine.
Has anyone experienced this too? Are streaming request bodies not compatible with http3? (as currently implemented in #chromium)
-
I'm trying to track down a weird issue with using #streams as request body for #fetchapi requests in the #browser. After the first chunk is read, the connection stalls and the server never receives any data. It seems to be related to #http3 / #quic. When I downgrade the http reverse proxy to #http2, it works fine.
Has anyone experienced this too? Are streaming request bodies not compatible with http3? (as currently implemented in #chromium)
-
#DailyBloggingChallenge (61/100)
The #PetProject continues with a custom date picker instead of using a predefined component from #vue to learn more how the library is built.
Also chose to use the #fetchAPI over #axios, mainly because I am more familiar with the former. With this the app has HTTP access and converts the XML response from OSM to JSON.
-
#DailyBloggingChallenge (61/100)
The #PetProject continues with a custom date picker instead of using a predefined component from #vue to learn more how the library is built.
Also chose to use the #fetchAPI over #axios, mainly because I am more familiar with the former. With this the app has HTTP access and converts the XML response from OSM to JSON.
-
#DailyBloggingChallenge (61/100)
The #PetProject continues with a custom date picker instead of using a predefined component from #vue to learn more how the library is built.
Also chose to use the #fetchAPI over #axios, mainly because I am more familiar with the former. With this the app has HTTP access and converts the XML response from OSM to JSON.
-
CW: Spoilers for AoC 2019, Day 1
Regarding the latest episode (049) of the #HackingTheGrepson podcast, I decided to make a more full-featured solution using the #FetchAPI. I now know how to pull puzzle input directly from the #adventofcode site, which is pretty cool.
-
CW: Spoilers for AoC 2019, Day 1
Regarding the latest episode (049) of the #HackingTheGrepson podcast, I decided to make a more full-featured solution using the #FetchAPI. I now know how to pull puzzle input directly from the #adventofcode site, which is pretty cool.
-
CW: Spoilers for AoC 2019, Day 1
Regarding the latest episode (049) of the #HackingTheGrepson podcast, I decided to make a more full-featured solution using the #FetchAPI. I now know how to pull puzzle input directly from the #adventofcode site, which is pretty cool.
-
CW: Spoilers for AoC 2019, Day 1
Regarding the latest episode (049) of the #HackingTheGrepson podcast, I decided to make a more full-featured solution using the #FetchAPI. I now know how to pull puzzle input directly from the #adventofcode site, which is pretty cool.