tag:help.tenderapp.com,2008-11-12:/discussions/problems/992-untrusted-server-certificate-error-on-api-callTender: Discussion 2018-10-18T06:26:08Ztag:help.tenderapp.com,2008-11-12:Comment/4030042009-09-26T21:26:25Z2013-07-21T20:02:42ZUntrusted server certificate error on API call<div><p>OK, I've worked around the untrusted certificate using a private
API (may the iPhone reviewer gods have mercy on my app) but now I'm
getting the following error back:</p>
<pre>
<code><H1>Method Not Allowed</H1>
The request method <code>POST</code> is inappropriate for the URL <code>/avit/categories/15530/discussions</code>.</code>
</pre>
<p>(I get that with and without the colon (/:15530/discussions also
gives the same error) – not sure if the colon is required or
a typo on the docs.</p>
<p>Anything glaringly wrong with the URL?</p>
<p>Thanks!</p></div>araltag:help.tenderapp.com,2008-11-12:Comment/4030042009-09-26T22:20:18Z2013-07-21T20:02:43ZUntrusted server certificate error on API call<div><p>OK, got it working.</p>
<p>The error above was resolved by actually adding an
Authentication header instead of adding the authentication details
to the url string.</p>
<p>I then started getting missing argument errors. I had simply
copied the example in the docs and not paid attention that the
Content-Type was JSON so I was sending a variable-encoded string
(as per the docs) instead of a JSON string. Sending a JSON string
in the POST vars fixed that.</p>
<p>So, all's good. Not sure if the docs need updating on the JSON
string for creating discussions.</p></div>araltag:help.tenderapp.com,2008-11-12:Comment/4030042009-09-27T20:52:41Z2009-09-27T20:52:41ZUntrusted server certificate error on API call<div><p>Hmm, do you have any more details on how you were creating the
request? (A sample <a href="http://hurl.it/">http://hurl.it/</a>
would do wonders). Our API is pretty flexible in the way it parses
headers/variables, so there's lots of combinations of ways you can
craft requests.</p></div>Kyle Neath (GitHub Staff) tag:help.tenderapp.com,2008-11-12:Comment/4030042009-12-05T15:04:19Z2013-07-21T20:02:43ZUntrusted server certificate error on API call<div><p>Just wanted to post a quick update: I just tested and it appears
that you're no longer using a self-signed cert (which is great news
as Apple is now sweeping for private API calls and the alternative
is to include a whole darn library just to work around that one
private call.)</p>
<p>So, in short: yay! Thanks for getting a real SSL cert :)</p></div>araltag:help.tenderapp.com,2008-11-12:Comment/4030042009-12-05T19:46:28Z2009-12-05T19:46:28ZUntrusted server certificate error on API call<div><p>We didn't change the cert :) it's been the same one the whole
time.</p></div>Courtenaytag:help.tenderapp.com,2008-11-12:Comment/4030042009-12-05T20:22:50Z2013-07-21T20:02:43ZUntrusted server certificate error on API call<div><p>Hmm, weird! Oh well, it's working now... <em>feels slight
trepidation</em> :)</p>
<p>Aral</p></div>aral