Create new Records in Products throuth api

Tryton is using version 1.0 from the JSON-RPC spec.
Take a look at Log in with external script fails You have there two examples:

  1. complete external script where you need to make your JSON-RPC request yourself
  2. use Proteus