Api Model Vs. Product?

Discussion in 'Shapeways API' started by rithmikansur, Mar 26, 2018.

  1. rithmikansur
    rithmikansur Member
    I noticed that a certain tutorial has been taken down recently.

    I'm working on an app, and I wanted to let the user add their newly created model into their cart on shapeways.
    I had planned on using the method shown in the recently removed tutorial.
    The method in the tutorial was simply embedding some GET request info into the href attribute.
    ie... https://www.shapeways.com/cart/addMultiple?model_id[]=1234567&material_id[]=26

    But, it doesn't seem to work as expected.
    When the user clicks the link on my website.
    They are redirected to shapeways, but nothing is added to the cart.
    If I copy the link into a new window, the item is added just fine.

    What is the current correct way of making a "buy now" button when the model was just created and uploaded via the oauth v1 api?
    any help is appreciated.