functionnal post request web and server side