api create products get and post interface