mirror of
https://github.com/Astatin3/unshell.git
synced 2026-06-08 22:38:01 -06:00
Clean up some package stuff
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
[package]
|
||||
name = "unshell-server"
|
||||
# version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[features]
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
# curl -w '\n' \
|
||||
# -H 'Content-Type: application/json' \
|
||||
# -d '{"username":"foo","password":"bar"}' \
|
||||
# http://localhost:3000/api/auth
|
||||
|
||||
|
||||
|
||||
curl -s \
|
||||
-w '\n' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjQ2NjU1ODMsImlhdCI6MTc2NDYyMjM4MywiZW1haWwiOiJmb28ifQ.NeStaGwWBGS825rF11TOH_e79RWEL_2o3SY9jZ5CX20' \
|
||||
-d "jwbrjwbremnwebrnmwemnrbnmwerbnmwer" \
|
||||
http://localhost:3000/api/test
|
||||
|
||||
|
||||
curl -s \
|
||||
-w '\n' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjQ2NjU1ODMsImlhdCI6MTc2NDYyMjM4MywiZW1haWwiOiJmb28ifQ.NeStaGwWBGS825rF11TOH_e79RWEL_2o3SY9jZ5CX20' \
|
||||
http://localhost:3000/api/test/test2
|
||||
Reference in New Issue
Block a user