---
title: "Returns an image based on the Accept header."
url: "https://sbx.developer-internal.sanofi.com/apis/httpbin-1/versions/da3754ed-f573-4cf9-a100-7688d77483f4/paths/image/get"
---

> Full API specification: https://sbx.developer-internal.sanofi.com/apis/httpbin-1/versions/da3754ed-f573-4cf9-a100-7688d77483f4.md

# Returns an image based on the Accept header.

`GET` `/image`

## Responses

- `200` - OK
- `406` - Client did not request a supported media type.

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: httpbin
  version: 1.0-oas3
servers:
  - url: https://httpbin.org
  - url: http://httpbin.apim.eu/
  - url: https://eu.httpbin.org
  - url: http://eu.httpbin.org
  - url: http://localhost:8000/test
paths:
  /image:
    get:
      summary: Returns an image based on the Accept header.
      tags:
        - images
      responses:
        "200":
          $ref: "#/components/responses/Image"
        "406":
          description: Client did not request a supported media type.
components:
  responses:
    Image:
      description: OK
      content:
        image/png, image/jpeg, image/webp:
          schema:
            type: string
            format: binary
        image/svg+xml: {}
        image/svg: {}
```
