How to set arguments for a primitive with REST?

Hello,

I want to set arguments of a primitive (like the amplitude for the sinus function) with the REST API but when I do a /primitive//set// the value doesn’t change and the primitive returns an error. Is it possible to give an argument to a primitive with the REST API?

I have found my problem, when I gave my arguments by REST API, this argument is string type but the sinus functions want int type. I have transformed the argument in int.