title: Google Drive API. Get Shared link (sharedUrl)
body: <p>Can I somehow get <strong>sharedLink</strong> without displaying <code>gapi.drive.share.ShareClient()</code> dialog? I just want to make my own Picker dialog to share files.</p>
  
  <p>I've investigated that this dialog connects to external url <code>/sharing/commonshare/</code>
  to set shared state and get sharedLinks. </p>
  
  <p><a href="https://i.stack.imgur.com/d5ykN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/d5ykN.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/Cq4dZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Cq4dZ.png" alt="enter image description here"></a></p>
  
  <p>As you see there is "token" prop in POST request. (First picture)
  To get it API does another request</p>
  
  <p><a href="https://i.stack.imgur.com/XJGga.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XJGga.png" alt="enter image description here"></a>
  I have all data to GET it. But I get 405 Error.</p>
  
  <p>Actually I don't want to try that hard. 
  Does documentation about it exist? Because I didn't find anything like that.</p>
  
  <blockquote>
    <p>I just want to share selected file.</p>
  </blockquote>
  
  <p>Thanks!</p>