fix POST call for sending the analysis