The API needs token validation for front end websites to access it. I want to be able to use a command like rest-scraper create-token {url} to add a new website to allowed CORS url's and generate a token. Also with that I want to be able to revoke a token by either the URL or token ID (example: rest-scraper revoke-token {url} or rest-scraper revoke-token -t {token_id}
The API needs token validation for front end websites to access it. I want to be able to use a command like
rest-scraper create-token {url}
to add a new website to allowed CORS url's and generate a token. Also with that I want to be able to revoke a token by either the URL or token ID (example:rest-scraper revoke-token {url}
orrest-scraper revoke-token -t {token_id}