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:
parent
3d79f8fc39
commit
ca28c68007
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user