diff --git a/app/main/views/send.py b/app/main/views/send.py index 41face291..3e658b9f5 100644 --- a/app/main/views/send.py +++ b/app/main/views/send.py @@ -209,7 +209,6 @@ def send_from_api(service_id, template_id): 'views/send-from-api.html', template=template, payload=json.dumps(payload, indent=4), - api_host=current_app.config['API_HOST_NAME'], service_id=service_id ) diff --git a/app/templates/views/documentation.html b/app/templates/views/documentation.html index 13e6943a0..431c5980d 100644 --- a/app/templates/views/documentation.html +++ b/app/templates/views/documentation.html @@ -161,7 +161,7 @@
- https://api.notify.works + https://api.notifications.service.gov.uk/
diff --git a/app/templates/views/send-from-api.html b/app/templates/views/send-from-api.html index 213490ac2..9bb1ddb4f 100644 --- a/app/templates/views/send-from-api.html +++ b/app/templates/views/send-from-api.html @@ -3,7 +3,7 @@ {% from "components/sms-message.html" import sms_message %} {% block page_title %} - Developer documentation – GOV.UK Notify + API integration – GOV.UK Notify {% endblock %} {% block maincolumn_content %} @@ -48,15 +48,14 @@
- {{- 'POST {}/notifications/{}'.format(
- api_host,
+ {{- 'POST https://api.notifications.service.gov.uk/notifications/{}'.format(
template.template_type
) -}}
-
See the developer documentation for full details.
+
See the developer documentation for full details.