Skip to content

JSON endpoint returns 404 #60

@JWCook

Description

@JWCook

It looks like /json currently returns a 404 with pytest-httpbin, while it returns a 200 with httpbin.org. All other response formats return a 200 with both pytest-httpbin and httpbin.org.

Minimal example:

import requests

def test_json(httpbin):
    assert requests.get('https://httpbin.org/json').status_code == 200
    assert requests.get(f'{httpbin.url}/json').status_code == 200
  • pytest-httpbin version: 1.0.0
  • python version: 3.8.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions