Permalink
Browse files

use HTTPS for API access

  • Loading branch information...
Maciek Szczesniak
Maciek Szczesniak committed May 29, 2010
1 parent 48b96ae commit 08c281bafbcfd8a3317216d4649783833b1be976
Showing with 1 addition and 1 deletion.
  1. +1 −1 django_postageapp/__init__.py
@@ -11,7 +11,7 @@ class PostageappEmailBackend(BaseEmailBackend):
def __init__(self, fail_silently=False, **kwargs):
self.fail_silently = fail_silently
- self.postageapp_endpoint = "http://api.postageapp.com/v.1.0/send_message.json"
+ self.postageapp_endpoint = "https://api.postageapp.com/v.1.0/send_message.json"
if not getattr(settings, "EMAIL_POSTAGEAPP_API_KEY"):
raise ImproperlyConfigured("You need to provide EMAIL_POSTAGEAPP_API_KEY in your Django settings file.")

0 comments on commit 08c281b

Please sign in to comment.