tomrom95 / ece_inventory

0 stars 1 forks source link

Uploading PDF will overwrite path in the loan schema #508

Closed henry-yuen closed 7 years ago

henry-yuen commented 7 years ago

This HTML element will do the trick - make sure to update the loan id, item id and server URL:


<html>
  <body>
    <form ref='uploadForm'
      id='uploadForm'
      action='https://colab-sbx-115.oit.duke.edu/upload/loan/58e464e43f7ed8ef9c67876a/item/58c0270bdad2fa3b942b092a'
      method='post'
      encType="multipart/form-data">
        <input type="file" name="uploadPDF" />
        <input type='submit' value='Upload!' />
    </form>
  </body>
</html>
tomrom95 commented 7 years ago

Replace with the server you're on. Cant hard code it On Mon, Apr 10, 2017 at 5:39 PM Henry Yuen notifications@github.com wrote:

This HTML element will do the trick - make sure to update the loan id, item id and server URL:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tomrom95/ece_inventory/issues/508#issuecomment-293086969, or mute the thread https://github.com/notifications/unsubscribe-auth/AGxGVvTzoz7YbHRf3BCu60gGMmqZcVgpks5ruqF6gaJpZM4M5QYx .