def METHOD_NAME(self):
    homepage_query_payload = {
        "version": 2,
        "name": "New Homepage Query",
        "projects": ["-1"],
        "environment": ["alpha"],
        "fields": ["environment", "platform.name"],
        "orderby": "-timestamp",
        "range": None,
    }
    with self.feature(FEATURES):
        response = self.client.post(self.url, data=homepage_query_payload)
    assert response.status_code == 405, response.content