<commit_before># "Testing" the server with the curl library

Upload (POST):

    curl --form "file=@<EMAIL>" http://username:password@127.0.0.1:5000/API/V1/files/test6/test7/<nomefile.extension>

Download (GET):

    curl http://127.0.0.1:5000/API/V1/files/<nomefile.extension>

Update (PUT):

	curl -X PUT "http://username:password@127.0.0.1:5000/API/V1/files/test/<nomefile.extension>"
	



Instead, there is a graphic interface (see upload.html attached file) to directly try upload
one file from the browser to the server root directory (upload).

Creating new user (signup):

    curl localhost:5000/API/V1/signup --data "username=youruser&password=<PASSWORD>"<commit_msg>usertips updated with Actios API<commit_after># "Testing" the server with the curl library

----------- Files ---------

Upload (POST):

    curl --form "file=@<EMAIL>" http://username:password@127.0.0.1:5000/API/V1/files/test6/test7/<nomefile.extension>

Download (GET):

    curl http://127.0.0.1:5000/API/V1/files/<nomefile.extension>

Update (PUT):

	curl -X PUT "http://username:password@127.0.0.1:5000/API/V1/files/test/<nomefile.extension>"


Instead, there is a graphic interface (see upload.html attached file) to directly try upload
one file from the browser to the server root directory (upload).


------------ Actions -----------

Delete (POST):
	
	curl --form "filepath=<path>" http://username:password@127.0.0.1:5000/API/V1/actions/delete -X POST
	curl --data "filepath=<path>" http://username:password@127.0.0.1:5000/API/V1/actions/delete -X POST

Copy (POST):
	
	curl --data "src=<sourcepath>&dst=<dstpath>" http://username:password@127.0.0.1:5000/API/V1/actions/copy -X POST

Move (POST):

	curl --data "src=<sourcepath>&dst=<dstpath>" http://username:password@127.0.0.1:5000/API/V1/actions/move -X POST

--------------Signup--------------

Creating new user (signup):

    curl localhost:5000/API/V1/signup --data "username=youruser&password=<PASSWORD>"
{'fraction_non_alphanumeric': 0.1888147768086198, 'fraction_numerical': 0.06362237044638276, 'mean_word_length': 3.599056603773585, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 10, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1027530', 'n_tokens_mistral': 755, 'n_tokens_neox': 662, 'n_words': 150}