I have the same issue on version 5.0.2
however, should it be
http://localhost:1337/api/customers/1
in your case?