Convert label generation to POST