If the endpoint is working fine, it's most likely an issue with the sending code. Do your error logs show anything?

Double check for typography. If it's still not working, make the most minimal example for sending data and see if that works, then add additional pieces from there.