Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenhan wang
pastebin
Commits
be1252fa
Commit
be1252fa
authored
Dec 16, 2022
by
chenhan wang
Browse files
版本1.0测试
parent
b7ae5b4d
Changes
4
Show whitespace changes
Inline
Side-by-side
.gitignore
View file @
be1252fa
config.yaml
config.yaml
backend/files
backend/files
.history/
.history/
.idea/**
conf.yaml
docs/**
\ No newline at end of file
backend/.gitignore
deleted
100644 → 0
View file @
b7ae5b4d
.idea/**
conf.yaml
docs/**
\ No newline at end of file
backend/__debug_bin.exe
0 → 100644
View file @
be1252fa
File added
backend/files/txt/test2.txt
View file @
be1252fa
test
test
curl -F api_key=<api_key> -F api_secret=<api_secret> –F image=@test2.txt -F return_portrait=1
curl -F api_key=<api_key> -F api_secret=<api_secret> –F image=@test2.txt -F return_portrait=1
curl localhost/api/file/send '{\"fileName\":\"test2.png\"}' -F "file=@./test.png" -H "token:222" -v
curl localhost/api/file/send '{\"fileName\":\"test2.png\"}' -F "file=@./test.png" -H "token:222" -v
curl localhost/api/file/send -d "{\"fileName\":\"test2.png\"}"
curl localhost/api/file/send -F "file=@./test.png" -H "token:222" -v
curl -d 'use=sei' localhost/api/print/query
curl -d '{\"user\":\"jkj\"}' localhost/api/print/query
curl -d "{\"keyword\":\"user\",\"value\":\"wnag\"}" localhost/api/print/query
curl -d "{\"keyword\":\"user\",\"value\":\"wnag\"}" localhost/api/print/body
curl -X POST localhost/api/SQL/adduser -H 'Content-Type: application/json' -d '{"name":"Joe","passwd":"joe@labstack"}'
curl -X POST localhost/api/SQL/adduser -H 'Content-Type: application/json' -d‘{\"name\":\"na\",\"passwd\":\"pass\"}’
curl -X POST localhost/api/SQL/test -H 'Content-Type: application/json' -d‘{\"name\":\"na\",\"passwd\":\"pass\"}’
curl http://127.0.0.1:8080/api/SQL/adduser -X POST -H "Content-Type: application/json" -d {"name":"1","passwd":"934"}
//有效的
curl localhost/api/SQL/adduser -X POST -H "Content-Type: application/json" -d "{\"name\":\"add\",\"passwd\":\"yyy\"}"
{"id":22,"name":"add","passwd":"yyy"}
curl localhost/api/file/recv -F "file=@./test2.txt" -H "token:222" -v
curl localhost/api/file/send -X POST -H "Content-Type: application/json" -d “{\"fileName\":\"test2\",\"fileType\":\"txt\"}”
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment