0 Replies Latest reply on Jun 22, 2017 9:30 AM by login16

    405 Method Not Allowed

    login16

      hi

       

      see documentation

      use cURL as described

      there is answer "405 Method Not Allowed"

       

      token changed to XXXXXXXXX

       

      ======

       

       

       

      curl -v -X POST --data '{"task":{"title":"Submit","project":{"id":"594af066b0fa090d39000008"}}}' "https://www.producteev.com/api/tasks/" --header "Content-Type:application/json" --header "Authorization:Bearer XXXXXXXXX"

      Note: Unnecessary use of -X or --request, POST is already inferred.

      *   Trying 52.86.221.184...

      * TCP_NODELAY set

      * Connected to www.producteev.com (52.86.221.184) port 443 (#0)

      * TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256

      * Server certificate: *.producteev.com

      * Server certificate: DigiCert SHA2 High Assurance Server CA

      * Server certificate: DigiCert High Assurance EV Root CA

      > POST /api/tasks/ HTTP/1.1

      > Host: www.producteev.com

      > User-Agent: curl/7.54.0

      > Accept: */*

      > Content-Type:application/json

      > Authorization:Bearer XXXXXXXXX

      > Content-Length: 71

      >

      * upload completely sent off: 71 out of 71 bytes

      < HTTP/1.1 405 Method Not Allowed

      < Allow: PUT

      < Cache-Control: no-cache

      < Content-Type: text/html; charset=UTF-8

      < Date: Thu, 22 Jun 2017 02:58:55 GMT

      < Server: Apache

      < Vary: Authorization,Accept-Encoding

      < transfer-encoding: chunked

      < Connection: keep-alive

      <

      <!DOCTYPE html>

      <!--[if lt IE 9 ]> <html class="ie8" lang="en_US"> <![endif]-->

      <!--[if IE 9 ]> <html class="ie9" lang="en_US"> <![endif]-->

      <!--[if (gt IE 9)|!(IE)]><!--> <html lang="en_US"> <!--<![endif]-->

        <head>

       

          <meta charset="utf-8">

            <title>

        Task Management Software | Producteev by Jive

          </title>

            <link rel="shortcut icon" href="https://dj2unr9f0jqhk.cloudfront.net/staticwebapp/version_105/favicon.ico" />

          <!-- Always force latest IE rendering engine -->

          <!-- <meta http-equiv="X-UA-Compatible" content="IE=9,chrome=1"> -->

            <meta name="description" content="Producteev is the world’s best task management software for teams. It's more than an online to-do list and has helped hundreds of thousands of teams get work done faster with better results. Learn more."/>

            <meta id="pdtv-base-dir" content="https://dj2unr9f0jqhk.cloudfront.net/staticwebapp/version_105/bundles/producteevweb"/>

                  <meta name="google-site-verification" content="lmAcrbb6OQQy8GCMRii03IpMlaavxK8F1n4tx_T29uE" />                        <meta name="viewport" content="initial-scale=1.0 maximum-scale = 1.0">

                              <link href="https://dj2unr9f0jqhk.cloudfront.net/staticwebapp/version_105/bundles/producteevweb/css/thirdparty.css" type="text/css" rel="stylesheet"  />

                  <link href="https://dj2unr9f0jqhk.cloudfront.net/staticwebapp/version_105/bundles/producteevweb/css/producteev.css" type="text/css" rel="stylesheet"  />

                  </head>

                  <body class="home">

          <!-- Content -->

       

      <body class="home info-page">

       

         

      <div id="header"  class="opaque">

          <div class="inner-col">

              <div class="logo-container">

                  <a href="/">

                      <div></div>

                  </a>

              </div>

              <input type="checkbox" id="nav" />

              <label for="nav"></label>

       

              <ul class="menu-nav">

                  <li class="item">

                      <a href="/features" >

                          Features

                      </a>

                  </li>

                  <li class="item">

                      <a href="/apps" >

                          Apps

                      </a>

                  </li>

                  <li class="item">

                      <a href="/customers" >

                          Customers

                      </a>

                  </li>

                  <li class="item">

                      <a href="/pricing"  >

                          Pricing

                      </a>

                  </li>

                  <li class="item hidden-phone hidden-tablet">

                      <a href="#" data-toggle="dropdown" class="dropdown-toggle ">

                          Developers <i class="icon-caret-down"></i>

                      </a>

                      <ul class="dropdown-menu" role="menu">

                          <li>

                              <a href="/developers">Introduction</a>

                          </li>

                          <li>

                              <a href="/api/doc/">Documentation</a>

                          </li>

                          <li>

                              <a href="/developers/resources">Resources</a>

                          </li>

                          <li>

                              <a href="/settings/apps">My Apps</a>

                          </li>

                      </ul>

                  </li>

                  <li class="item signup">

                      <a href="/signup" >

                          <span >Sign up</span>

                      </a>

                  </li>

                  <li class="item">

                      <a href="/login" >

                          Log in

                      </a>

                  </li>

              </ul>

          </div>

      </div>

                  <div class="container">

                  <div class="content">

                      <h2>Oops! Something wrong happened</h2>

                      <h3>Error 405.</h3>

                      <p>

                          The server returned an unexpected response and something went wrong during the process of your request. It could be only temporary, so try to refresh this page in a few minutes.

                      </p>

                      <p>

                          If you still encounter this issue please <a target="_blank" href="https://community.jivesoftware.com/community/products/producteev">contact us</a>. Thanks!

                      </p>

       

                      <h3>The Producteev Team.</h3>

                  </div>

              </div>

         

      </body>

       

       

          <!-- JavasScript files -->

                  <!--[if lt IE 9]>

                  <script src="https://dj2unr9f0jqhk.cloudfront.net/staticwebapp/version_105/bundles/producteevweb/js/browsersCompatibility/bind.js" type="text/javascript"></script>

                  <script src="https://dj2unr9f0jqhk.cloudfront.net/staticwebapp/version_105/bundles/producteevweb/js/browsersCompatibility/console.js" type="text/javascript"></script>

              <![endif]-->

                      <!-- Google Tag Manager -->

      <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-MGC6T9"

      height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>

      <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':

      new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],

      j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=

      '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);

      })(window,document,'script','dataLayer','GTM-MGC6T9');</script>

      <!-- End Google Tag Manager -->

         

          </body>

          </html>

      * Connection #0 to host www.producteev.com left intact