Add delete user route
This commit is contained in:
1 parent
fd8c47cd95
commit
0d926d4b95
7 files changed
+48
-4
No files matched your search
@@ -0,0 +1,44 @@
|
||||
meta {
|
||||
name: Create user
|
||||
type: http
|
||||
seq: 6
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://localhost:8000/api/users/register
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
headers {
|
||||
Accept: application/json
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"name": "{{name}}",
|
||||
"lastname": "{{lastname}}",
|
||||
"email": "{{email}}",
|
||||
"password": "{{password}}"
|
||||
}
|
||||
}
|
||||
|
||||
vars:pre-request {
|
||||
name: name
|
||||
email: test@test.com
|
||||
password: test
|
||||
lastname: NAME
|
||||
}
|
||||
|
||||
assert {
|
||||
res.status: eq 200
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
docs {
|
||||
Créer un utilisateur test
|
||||
}
|
||||
Reference in new issue
Block a user