# HAMUR_W1208: A server function that is not GET runs while prerendering

A server function that is not GET runs while prerendering. Warning `HAMUR_W1208` belongs to `hamur`, scan, build and dev (1001 – 1999).

## Message

```text
HAMUR_W1208 Prerender: <fn> ran while prerendering <recorded>, but it is a <fn> handler and a static site has no server: the page renders, and a refresh or a new input fails. Declare it method: "GET".
```

## Cause

A server function that is not a `GET` ran while a page prerendered. A static site has no server, so a refresh or a new input fails.

## Fix

Declare it `method: "GET"`.
