Joshua
Joshua

Reputation: 1

What is the difference of fetch api between edge function(cloudflare/vercel) which based on v8 and node environment

At present, some cloud service providers such as Vercel and Cloudflare both provide edge function computing running in v8 isolate, but when using the fetch api, sometimes a 403 error occurs, while there is no such problem when using node environment.


Example:

run

curl https://steamcommunity.com/openid/login?openid.mode=check_authentication

or fetch in nodejs, will get

ns:http://specs.openid.net/auth/2.0
is_valid:false

but fetch in Cloudflare worker or Vercel edge function will get 403 Forbidden

Upvotes: 0

Views: 371

Answers (1)

Joshua
Joshua

Reputation: 1

According to cloudflare community, there’s no difference.

It might be that steam limits network traffic from cloudflare worker and vercel edge function.

But i still don't know why Steam makes this limit.

Upvotes: 0

Related Questions