How do you secure REST endpoints?

Technical