POST didnt work when moved to server. Hopefully this fixes it