diff --git a/buildingmotif/api/views/template.py b/buildingmotif/api/views/template.py index d5da6bca..2897ff2e 100644 --- a/buildingmotif/api/views/template.py +++ b/buildingmotif/api/views/template.py @@ -142,7 +142,7 @@ def evaluate_bindings(template_id: int) -> flask.Response: return graph.serialize(format="ttl"), status.HTTP_200_OK -@blueprint.route(rule: "//body", methods=(["POST"])) +@blueprint.route(rule: "//body", methods=(["GET"])) def get_template_body(template_id: int) -> flask.Response: """Get template body.