Api pid-generation examples,  changed PUT to POST request