<commit_before># curl commands

## User

### Sign-in

	curl -X POST -v -d '{"login":"kikoo", "passwd":"<PASSWORD>"}' http://127.0.0.1:8080/users/signin

### Sign-up

	curl -X POST -v -d '{"user":{"login":"kikoo", "passwd":"<PASSWORD>", "email":"<EMAIL>", "imgUrl":"kikoo.kiki.fr"}}' http://127.0.0.1:8080/users/signup

### Get single user

	curl -X GET 'http://127.0.0.1:8080/users/kikoo?token=token' -v

### Get authenticated user

	curl -X GET 'http://127.0.0.1:8080/user?token=token' -v

### Sign-out

	curl -X POST -v -d '{"token":"token"}' http://127.0.0.1:8080/user/signout

### Delete

	curl -X DELETE -v -d '{"token":"token"}' http://127.0.0.1:8080/user<commit_msg>Add curl command related to "/tokens/:token" API call.<commit_after># curl commands

## User

### Sign-in

	curl -X POST -v -d '{"login":"kikoo", "passwd":"<PASSWORD>"}' http://127.0.0.1:8080/users/signin

### Sign-up

	curl -X POST -v -d '{"user":{"login":"kikoo", "passwd":"<PASSWORD>", "email":"<EMAIL>", "imgUrl":"kikoo.kiki.fr"}}' http://127.0.0.1:8080/users/signup

### Get single user

	curl -X GET 'http://127.0.0.1:8080/users/kikoo?token=token' -v

### Get authenticated user

	curl -X GET 'http://127.0.0.1:8080/user?token=token' -v

### Sign-out

	curl -X POST -v -d '{"token":"token"}' http://127.0.0.1:8080/user/signout

### Delete

	curl -X DELETE -v -d '{"token":"token"}' http://127.0.0.1:8080/user

### Get the login associated to a token

	curl -X GET 'http://127.0.0.1:8080/tokens/token' -v
{'fraction_non_alphanumeric': 0.252361673414305, 'fraction_numerical': 0.08771929824561403, 'mean_word_length': 3.634375, 'pattern_counts': {'":': 18, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 13, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5598370', 'n_tokens_mistral': 710, 'n_tokens_neox': 609, 'n_words': 130}