[Solved] Android Development: How to create a network login via https [closed]

try{ String url = “https://SERVER-ADDRESS:PORT/site/login?username=” + user + “&password=” + password; HttpParams params = new BasicHttpParams(); HttpConnectionParams.setConnectionTimeout(params, 1000 * 60 * 2); HttpConnectionParams.setSoTimeout(params, 0); HttpClient httpClient = new DefaultHttpClient(params); //prepare the HTTP GET call HttpGet httpget = new HttpGet(url); //get the response entity HttpEntity entity = httpClient.execute(httpget).getEntity(); if (entity != null) { //get the response … Read more

[Solved] Sending Requests to Https site

After testing a little bit, it looks like that specific website is using Akamai Ghost and has been configured to block the default go http package user agent. The default user agent appears to be Go-http-client/1.1 If you change your user agent req.Header.Set(“User-Agent”, “my-client-app”) The request will work. However, the website in question appears to … Read more

[Solved] Insecure call on WordPress Site

I visited your site. You are loading mixed content, as can be seen through the following Chrome console warning: Mixed Content: The page at ‘https://rideyellow.com/‘ was loaded over HTTPS, but requested an insecure video ‘http://rideyellow.com/wp-content/uploads/2017/01/RideYellow_1.mp4‘. This content should also be served over HTTPS. Also, you do have a form element in line 247, but you … Read more

[Solved] How to format HTTP request to discord API?

t=”POST / HTTP/1.0\r\nAuthentication: Bot {token}\r\nHost: discord.com/api/guilds/{702627382091186318}/channels\r\n\r\n” This is not a valid HTTP request. You essentially send (line breaks added for clarity): POST / HTTP/1.0\r\n Authentication: Bot {token}\r\n Host: discord.com/api/guilds/{702627382091186318}/channels\r\n \r\n But a correct POST request would look like this instead: POST /api/guilds/{702627382091186318}/channels HTTP/1.0\r\n Authentication: Bot {token}\r\n Host: discord.com\r\n Content-length: … \r\n <body, where size matches … Read more

[Solved] SSL channel is encrypted or data

try to see it like this: whenever you create a secure channel in this type of context, you create 2 endpoints… whatever you stuff into the one endpoint comes out of the other … what you put in may be plain text and it will come out as plain text … but what happens between … Read more