I'm doing a basic RESTful API, I have doubts about security.
I implemented a basic RESTful API in PHP with OAuth2 security system and it works on HTTP.
If I have my frontend (maybe an Angular2 app) that consumes some methods of my API (mainly get methods). This frontend auth against OAuth2 sending headers user, password, and API token and the API responds with token to use for it. Can this be captured by a simple user of my frontend and used?
Is there way to protect the API without HTTPS?