Spotlight

Case Study Microsoft

How Microsoft scaled global content delivery

Find out how Microsoft used Gcore to strengthen delivery across regions.

case study ProSieben GNTM app TOPSHOT

How ProSieben scaled GNTM's app TOPSHOT

Explore how ProSieben brought real-time AI portraits to GNTM's audience.

case study Higgsfield

How Higgsfield scaled AI video generation

See how Gcore helped Higgsfield scale with GPUs and Managed Kubernetes.

case study Fawkes Games

How Fawkes Games stopped DDoS attacks

See how Gcore protected gaming servers from massive DDoS threats without disrupting gameplay.

We're hiring

Help build the next chapter of the web

We're not just filling seats. We're building a team that will write the next chapter of the internet.

  1. Home
  2. Developers
  3. HTTP Calls from the Edge

HTTP Calls from the Edge

  • By Gcore
  • July 30, 2026
  • 2 min read
Isometric illustration of a central server connecting to cloud, database, laptop, and global network.

FastEdge isn't just for responding to requests — you can also make outbound HTTP calls from your edge worker. This is useful for fetching data from upstream APIs, aggregating content, or acting as a proxy.

The fastedge crate approach

Using the fastedge crate's http_client module, you can send any HTTP request and get back a response — all from within your WASM handler:

 

 Note: send_request is synchronous from the handler's perspective — it blocks the WASM context  until the remote responds, so keep timeouts in mind.

Raw proxy-wasm approach

For more advanced control, such as intercepting the client request and making an asynchronous HTTP call before continuing, you can drop down to raw proxy_wasm:

 

In on_http_request_headers, you call self.dispatch_http_call(...) and return Action::Pause to wait for the response. The response arrives in on_http_call_response, where you can inspect headers, read the body, and then call self.resume_http_request() to let the original request continue.

 

 Tip: The raw proxy-wasm approach lets you make HTTP calls while the client request is paused —  perfect for authentication checks, rate limiting, or content aggregation at the edge.

When to Use Which

Use fastedge::http_client::send_request when you just need to fetch something and return it. It is simpler and works within the familiar Request and Response model.

Use the raw proxy-wasm approach when you need to intercept, augment, or gate a client request using data from an external source.

Full Example

Check out the complete working example on GitHub:
github.com/G-Core/FastEdge-sdk-rust/examples/cdn/http_call

 Caveat: HTTP calls from FastEdge use the proxy-wasm ABI and are subject to the edge provider's  timeout and resource limits. Timeouts default to 5 seconds on most plans.

Related articles

Laptop, servers, MD and HTML files in an isometric network, showing data conversion.
The web has a new reader: serving Markdown for agents

FastEdge Markdown Transformation lets websites serve Markdown to AI agents directly from the CDN edge, while browsers continue to receive the same HTML page.Websites now have more than one kind of reader. Browsers need HTML (layout, styling

Data network with server, devices, file folders, and security shield over a global map.
CDN Caching: What It Is and How It Works

Every second of load time costs you. During a traffic spike, an uncached origin server can buckle under the pressure, and CDN caching can offload 70% to 90% of that traffic before it ever reaches your Gcore infrastructure. For a user in New

A central server connecting to various smart devices, laptop, phone, camera, and cloud services.
What Is an Edge Server?

Picture an autonomous vehicle doing 70 mph on the highway, waiting on a response from a data center hundreds of miles away. Or a surgeon depending on real-time imaging that freezes mid-procedure because data has to make a round trip across

Man interacts with a data processing system showing inputs, a central server, and outputs.
What is Cache Hit Ratio and How Can You optimize It?

Every cache miss is a trip your server didn't need to make. And those trips add up fast. Sites with poorly optimized caching can see cache hit ratios as low as 70%, meaning three in 10 requests are hitting your origin server directly, dragg

Secure data server connected to cloud and other servers, illustrating data management and security.
What Is a High Availability Server?

Every minute your servers are down, your business is bleeding. For e-commerce sites, healthcare platforms, and revenue-critical applications, an outage isn't just an inconvenience. It's a direct hit to your bottom line, your reputation, and

Visual comparison of cloud-based infrastructure connected to devices versus traditional server racks.
Cloud vs Dedicated Server: Which Is Right for You?

Your server choice could be quietly costing you, or quietly holding you back. Pick the wrong infrastructure for your workload and you're either overpaying for idle hardware every month or watching your site buckle under traffic spikes you c

Subscribe to our newsletter

Get the latest industry trends, exclusive insights, and Gcore updates delivered straight to your inbox.