@slightlylate @jaffathecake Is it possible to make a stripped-down HTTP request in a service worker like you can with curl?
-
-
Replying to @DotProto
@DotProto@slightlylate what do you mean by stripped down?1 reply 0 retweets 0 likes -
Replying to @jaffathecake
@jaffathecake@slightlylate The equivalent of doing $ curl 'https://example.com/some/path ' -X GET -H 'Origin: https://example.com '1 reply 0 retweets 0 likes -
Replying to @DotProto
@jaffathecake@slightlylate Use case: HTTP/REST client application similar to Postman or Paw1 reply 0 retweets 0 likes -
Replying to @DotProto
@DotProto@slightlylate what is fetch(url) doing wrong?2 replies 0 retweets 0 likes
Replying to @jaffathecake
@jaffathecake @DotProto: fetch() is pretty high-level; it has magic behavior (like using the HTTP cache and origin-specific behavior)
0 replies
1 retweet
2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.