GET request works but POST request is not yet