title: Sending POST Requests using Postman(Chrome plugin), but receiving GET request-why?
body: <p>I'm sending a POST request via POSTMAN, but my server (WebServer) is receiving it as a GET request - can anyone think why this can happen? Here is some info from postman (part of the URL/hostnames annonymised):</p>
  
  <pre><code>POST /blaa/DescriptionEntities/description HTTP/1.1
  Host: blaaa
  Content-Type: application/x-www-form-urlencoded
  Cache-Control: no-cache
  Postman-Token: 3901995b-78a0-598f-40d2-83b09e09d12e
  id=20&amp;description=hi
  </code></pre>
  
  <p>The code:</p>
  
  <pre><code>@POST
  @Path("description")
  @Consumes(MediaType.APPLICATION_FORM_URLENCODED)
  @Produces({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML})
  public DescriptionEntity      createDescriptionEntity(MultivaluedMap&lt;String,String&gt;map){
  
  
      System.out.println(map.getFirst("id"));
      System.out.println(map.getFirst("description"));
      return null;
  
  }
  </code></pre>
  
  <p>The  Server (WebSphere):</p>
  
  <pre><code> No operation matching request path "/blaa/DescriptionEntities/description"      is found, Relative Path: /description, HTTP Method: GET, ContentType: */*, Accept: */*,. Please enable FINE/TRACE log level for more details-is anyone able to kindly help here. 
  </code></pre>
  
  <p>Not sure how to set the log level here either(I'm new to this).The relative path at the class level is "DescriptionEntities" Thanks so much.</p>
  
  <p>EDIT- this is the whole class (minus import statements-it's completely experimental and ignore non related errors):</p>
  
  <pre><code>   @Path("DescriptionEntities")
     public class DescriptionEntityResource {
     private DescriptionEntityRepository descriptionEntityRepository=new       DescriptionEntityRepository();
      @Path("description")
      @POST
      @Consumes(MediaType.APPLICATION_FORM_URLENCODED)
      @Produces({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML})
     public DescriptionEntity createDescriptionEntity(MultivaluedMap&lt;String,String&gt;map){
  
  
      System.out.println(map.getFirst("id"));
      System.out.println(map.getFirst("description"));
      return null;
  
  }
  </code></pre>
  
  <p>}</p>
  
  <p>And the URL in Postman:  <a href="http://blaa/DescriptionEntities/Description" rel="nofollow">http://blaa/DescriptionEntities/Description</a></p>
  
  <p>EDIT: Server.xml</p>
  
  <pre><code>  &lt;server description="new server"&gt;
  &lt;!-- Enable features --&gt;
  &lt;featureManager&gt;
      &lt;feature&gt;jndi-1.0&lt;/feature&gt;
      &lt;feature&gt;json-1.0&lt;/feature&gt;
      &lt;feature&gt;localConnector-1.0&lt;/feature&gt;
      &lt;feature&gt;appSecurity-2.0&lt;/feature&gt;
      &lt;feature&gt;ssl-1.0&lt;/feature&gt;
      &lt;feature&gt;servlet-3.1&lt;/feature&gt;
      &lt;feature&gt;jaxrs-2.0&lt;/feature&gt;
      &lt;feature&gt;jpa-2.1&lt;/feature&gt;
      &lt;feature&gt;jsf-2.2&lt;/feature&gt;
      &lt;feature&gt;jsp-2.3&lt;/feature&gt;
  &lt;/featureManager&gt;
  
  &lt;httpEndpoint host="*" httpPort="80" httpsPort="443" id="defaultHttpEndpoint" sslOptionsRef="endpointSSLOptions"/&gt; 
  &lt;sslOptions id="endpointSSLOptions" sslRef="endpointSSL"/&gt;
  &lt;ssl enabledCiphers="TLS_RSA_WITH_AES_128_CBC_SHA TLS_RSA_WITH_AES_128_CBC_SHA256 " id="endpointSSL" keyStoreRef="customKeyStore"/&gt;
  &lt;keyStore id="defaultKeyStore" password="annonymised"/&gt;
  &lt;basicRegistry/&gt;
  
  &lt;mimeTypes&gt;
      &lt;type&gt;svg=image/svg+xml&lt;/type&gt;
  &lt;/mimeTypes&gt;
  
  &lt;httpSession useContextRootAsCookiePath="true" cookieSecure="true" /&gt;
  &lt;logging consoleLogLevel="INFO"/&gt;
  &lt;applicationMonitor updateTrigger="mbean"/&gt;
  
  &lt;webApplication id="annonymised" location="annonymised" name="annonymised"/&gt;
  </code></pre>
  
  <p></p>
  
  <p>EDIT:  Network traffic (using fiddler):</p>
  
  <pre><code>POST /blaa/DescriptionEntities/description HTTP/1.1
  Host: blaa
  Connection: keep-alive
  Content-Length: 20
  Cache-Control: no-cache
  Origin: chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop
  User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
      Content-Type: application/x-www-form-urlencoded
   Accept: */*
   Accept-Encoding: gzip, deflate
   Accept-Language: en-US,en;q=0.8
  </code></pre>
  
  <p>EDIT: The GET request:</p>
  
  <pre><code> GET /blaa/DescriptionEntities/description HTTP/1.1
   Host: blaa
   Connection: keep-alive
   Cache-Control: no-cache
   User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36    (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
   Accept: */*
   Accept-Encoding: gzip, deflate, sdch, br
  Accept-Language: en-US,en;q=0.8
  Cookie: IBMISP=b645ef125eca11e6aeed1341c031a83e-   b645ef125eca11e6aeed1341c031a83e-0801740c1b0bc161a63c23e998bba6ec; CoreM_State=83~-1~-1~-1~-1~3~3~5~3~3~7~7~|~~|~~|~~|~||||||~|~~|~~|~~|~~|~~|~~|~~|~; CoreM_State_Content=6~|~~|~|; optimizelyEndUserId=oeu1470813611355r0.3187708418093793; ajs_user_id=null; ajs_group_id=null; amplitude_idibm.com=eyJkZXZpY2VJZCI6Ijk0ZGZlZWE0LTg4NjEtNDMzNi04Yzk5LWMyZWMwNjMxOGZmNFIiLCJ1c2VySWQiOm51bGwsIm9wdE91dCI6ZmFsc2UsInNlc3Npb25JZCI6MTQ3MDgxMzY4MDQ4MCwibGFzdEV2ZW50VGltZSI6MTQ3MDgxMzY4MDQ5MCwiZXZlbnRJZCI6MSwiaWRlbnRpZnlJZCI6MSwic2VxdWVuY2VOdW1iZXIiOjJ9; ajs_anonymous_id=%22b645ef125eca11e6aeed1341c031a83e%22; intercom-id=19922b40-fb41-4744-9dfb-89d6875c0294; UnicaNIODID=enSkfJ02Gh7-Z3dNjvn; optimizelySegments=%7B%222753990332%22%3A%22gc%22%2C%222757810742%22%3A%22search%22%2C%222762380326%22%3A%22false%22%2C%223081321317%22%3A%22none%22%2C%223855873690%22%3A%22referral%22%2C%223859505928%22%3A%22none%22%2C%223860673668%22%3A%22gc%22%2C%223861195110%22%3A%22false%22%7D; optimizelyBuckets=%7B%7D; cvo_sid1=EEHN9V3GC6UB; cvo_tid1=BF-jgeF2_Y4|1470813613|1471260957|0; mmcore.tst=0.794; mmapi.store.p.0=%7B%22mmparams.d%22%3A%7B%7D%2C%22mmparams.p%22%3A%7B%22mmid%22%3A%221502797170504%7C%5C%22716298243%7CCgAAAApStaCTtQ0AAA%3D%3D%5C%22%22%2C%22pd%22%3A%221502797170506%7C%5C%22-1893569528%7CCgAAAAoBQlK1oJO1DfyoSkgDAOpF09EAxdNIDwAAABoXwicJwdNIAAAAAP%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FAAZEaXJlY3QBtQ0DAAAAAAAAAAAAAP%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwAAAAAAAUU%3D%5C%22%22%2C%22srv%22%3A%221502797170510%7C%5C%22ldnvwcgus01%5C%22%22%7D%7D; __auc=f59597cf1567352a7c8a1f92cde; _ga=GA1.2.1447575942.1471939647; CoreID6=67988125510914708136127&amp;ci=50200000|Bluemix_51040000|IBMTESTW3_51040000|HR_50200000|IBM_GlobalMarketing_50200000|devwrkscon_50200000|ESTKCS_50200000|DWNEXT; utag_main=v_id:01567352a47a000fc70d49709b1a04072002b06a00718$_sn:4$_ss:0$_st:1471941446924$dc_visit:4$_pn:7%3Bexp-session$ses_id:1471937020076%3Bexp-session$dc_event:19%3Bexp-session$dc_region:eu-central-1%3Bexp-session$ttd_uuid:f57e787f-a10b-48bc-833c-add2cf0e063d%3Bexp-session; 50200000_clogin=v=1&amp;l=1471937020&amp;e=1471941448777
  </code></pre>
  
  <p>EDIT: I have purged this little test project for now as I can't figure out what's wrong. I may try another time a little further down the line. Still curious as to what went wrong though so let me know if you spot anything obvious. Thanks everyone</p>