Is it possible to send a complex JSON object to a PUT route using Restangular?
Restangular.one('model3ds', model.uuid).put(
api_key: "blabla"
model3d: { is_public: true }
)
However, the data sent by Restangular appears as:
api_key: "blabla"
model3d: "{\"is_public:\":true}"
Has anyone found a way to change this behavior?
Please note that I can achieve this with single properties but not with an entire object.
Restangular.one('model3ds', model.uuid).put(
"model3d[is_public]": true
)