title: Convert cURL headers to Delphi TIdHTTP
body: <p>I am trying to address the OriginStamp.org site to post a file hash and to get its timestamp</p>
  
  <pre><code>curl -X GET -H "Content-Type: application/json" -H "Authorization: xxxxxxxxxxxxxxxxxxx" http://api.originstamp.org/api/yyyyyyyyyyy
  </code></pre>
  
  <p>I used various formats to access this API but this seemed to be most hopeful but with out success  </p>
  
  <pre><code>PROCEDURE TInterNetFm.GetTIMESTAMP;
  var
      i           : integer;
      response    : string;
      JSONToSend  : TStringStream;
      IndyH       : TIdHTTP;
  begin
      IndyH       := TIdHTTP.Create(Application);
      JSONToSend  := TStringStream.Create('{}');
      IndyH.Request.Connection := 'Keep-Alive';
      IndyH.Request.CustomHeaders.Clear;
      IndyH.Request.CustomHeaders.Values['Content-Type'] := 'application/json';
      IndyH.Request.CustomHeaders.Values['Authorization']:='xxxxxxxxxxxxxxx';
      IndyH.Request.ContentType := 'application/json';
      response:=IdHttp1.post('http://originstamp.org/api/
          05c2422f44ddd24ba3f25848773a8fcb48435f8f966381da4732c40a7255780c', 
          JSONToSend); 
      JSONToSend.free;
      IndyH.free;
      end;
  </code></pre>
  
  <p>This gives a HTTP/1.1 error 403 forbidden.
  I have also tried <code>IdHttp1.get</code>and the Delphi REST debugger and various attampts at REST.</p>
  
  <p>Any suggestions about how I am going wrong with this would be grately appreciated. </p>