# HTTP fixtures for a client — prompt for Gemma

Create a consistent set of sample responses to test different client-interface states.

Canonical URL: https://boswidget.ru/en/http-fixtures-for-a-client-prompt-for-gemma/

Model: Gemma

Category: Code

Tags: HTTP, fixtures, customer

![HTTP fixtures for a client](https://boswidget.ru/assets/images/text-preview-gm-http-fikstury-po-kontraktu-1200.189aaff3921b.webp)

HTTP fixtures for a client

## Prompt

HTTP method contract: {contract}. Client states to test: {states}. Create textual response fixtures with status, headers and body. Cover only the success, empty-result, error and pagination cases provided by the contract. Preserve identifiers and ordering across related responses. All values must be clearly fictional examples without real personal data. Do not invent fields, error codes or header support; flag missing conditions as questions. Send nothing over the network.

## Template fields

- `{contract}` — Contract. Example input: Method, fields, statuses, errors and pagination rules
- `{states}` — States. Example input: What the customer should be able to demonstrate

## Launch

[Open Gemma in YesAI](https://yesai.su/en/gemma)
