<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: patilnikhilh80</title>
    <description>The latest articles on DEV Community by patilnikhilh80 (@patilnikhilh80).</description>
    <link>https://dev.to/patilnikhilh80</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F397014%2F48c869ab-8fc4-4dcc-bc2a-c37ef42448cf.png</url>
      <title>DEV Community: patilnikhilh80</title>
      <link>https://dev.to/patilnikhilh80</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/patilnikhilh80"/>
    <language>en</language>
    <item>
      <title>javax.net.ssl.SSLHandshakeException in testing a web service from java client</title>
      <dc:creator>patilnikhilh80</dc:creator>
      <pubDate>Thu, 28 May 2020 08:10:25 +0000</pubDate>
      <link>https://dev.to/patilnikhilh80/javax-net-ssl-sslhandshakeexception-in-testing-a-web-service-from-java-client-1hki</link>
      <guid>https://dev.to/patilnikhilh80/javax-net-ssl-sslhandshakeexception-in-testing-a-web-service-from-java-client-1hki</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;h1&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--d6fSuj3N--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/stackoverflow-logo-e7205b186f9c84b1d4e8eb405ef6008a5774db316bd7d257421920b0f954810f.svg" alt=""&gt;
            &lt;a href="https://stackoverflow.com/questions/61788988/javax-net-ssl-sslhandshakeexception-in-testing-a-web-service-from-java-client" rel="noopener noreferrer"&gt;
               javax.net.ssl.SSLHandshakeException in testing a web service from java client
            &lt;/a&gt;
        &lt;/h1&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;May 14 '20&lt;/span&gt;
            &lt;span&gt;Comments: 2&lt;/span&gt;
            &lt;span&gt;Answers: 0&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/61788988/javax-net-ssl-sslhandshakeexception-in-testing-a-web-service-from-java-client" rel="noopener noreferrer"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xjukSftY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/stackexchange-arrow-up-73f60a9ccafdb2f40eec3701f62d2fd7121e02a581a2850e671a7e415eb49071.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          0
        &lt;/div&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--4ZRntoBk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/stackexchange-arrow-down-80fee73e4bc433405a0c0f3b9b88354ecccbdf53f131f8cd998aa30ed5223407.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;&lt;strong&gt;I am testing a web service for registering my data to web service which uses api keys using headers,I get error while using this code&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;please help me with this, any answers will be appreciated&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;URL url = new URL("https://xxxxRequest");
            HttpsURLConnection conn = (HttpsURLConnection) url.openConnection();
            conn.setDoOutput(true);
            conn.setDoInput(true);
            conn.setRequestMethod("POST");
            conn.setRequestProperty("Content-Type", "application/json;&lt;/code&gt;&lt;/pre&gt;…
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    
      &lt;a href="https://stackoverflow.com/questions/61788988/javax-net-ssl-sslhandshakeexception-in-testing-a-web-service-from-java-client" rel="noopener noreferrer"&gt;Open Full Question&lt;/a&gt;
    
  &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
  </channel>
</rss>
