mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-02 06:55:08 +03:00
11 lines
253 B
Python
11 lines
253 B
Python
from app import app
|
|
from flask import Response
|
|
|
|
|
|
@app.route("/error-invalid-jsonpath")
|
|
def error_invalid_jsonpath():
|
|
return Response(
|
|
'{"success":false,"errors":[{"id":"error1"},{"id":"error2"}]}',
|
|
mimetype="application/json",
|
|
)
|