Change Pastebin connection from HTTP to HTTPS (note in API page:

IMPORTANT: Please update all API calls to HTTPS before March 1st, 2018.
We will then block all API calls over HTTP.").
This commit is contained in:
Christian P. MOMON 2017-12-28 15:36:27 +01:00
parent 3d79f8fc39
commit ca28c68007

View File

@ -41,8 +41,8 @@ import org.april.hebdobot.HebdobotException;
*/ */
public class PastebinClient public class PastebinClient
{ {
private static final String API_LOGIN_URL = "http://pastebin.com/api/api_login.php"; private static final String API_LOGIN_URL = "https://pastebin.com/api/api_login.php";
private static final String API_POST_URL = "http://pastebin.com/api/api_post.php"; private static final String API_POST_URL = "https://pastebin.com/api/api_post.php";
private static final String API_DEV_KEY = "api_dev_key"; private static final String API_DEV_KEY = "api_dev_key";
private static final String API_USER_KEY = "api_user_key"; private static final String API_USER_KEY = "api_user_key";