Uploading a model with a link in the description

Discussion in 'Shapeways API' started by GambaLabs, Nov 3, 2014.

  1. GambaLabs
    GambaLabs Member
    Anyone managed to include a link in the description of a model?
    I want the description of the uploaded model to include a link to my creator web app. However, when I try to have it in the description I consistently get a 401 response code.
    Seems like there is a problem with having an equal character (=) in the description because when the description is only "=" - I also get a 401.

    Additional notes:
    - I tried to url-encode the text but it didn't help
    - I am able to add links in the description when editing the model description manually on Shapeways.com


    Any ideas are appreciated.

    Thanks,
    Gilad
     
  2. HypatiaStudio
    HypatiaStudio Member
    I don't know if you're still looking for any answers, almost two months later, but I was never able to put a link in the description when uploading a model either (i.e., it's not just you). My workaround is that I upload the model with a simple description, pause, then make a second call to update the model info (i.e., a PUT to /models/<modelID>/info/v1). That call does work with links in the description. Not a very graceful solution, and it doesn't seem right that it works that way, but it works.
     
  3. GambaLabs
    GambaLabs Member
    Good to know, thanks for the tip!