Update create user route
This commit is contained in:
1 parent
c691f81ebb
commit
42a98f3435
3 files changed
+9
-3
No files matched your search
@@ -1,11 +1,11 @@
|
||||
meta {
|
||||
name: Create user
|
||||
type: http
|
||||
seq: 2
|
||||
seq: 4
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://localhost:8000/api/user/create
|
||||
url: http://localhost:8000/api/users/register
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
@@ -17,6 +17,7 @@ headers {
|
||||
body:json {
|
||||
{
|
||||
"name": "{{name}}",
|
||||
"lastname": "{{lastname}}",
|
||||
"email": "{{email}}",
|
||||
"password": "{{password}}"
|
||||
}
|
||||
@@ -26,6 +27,7 @@ vars:pre-request {
|
||||
name: name
|
||||
email: test@test.com
|
||||
password: test
|
||||
lastname: NAME
|
||||
}
|
||||
|
||||
assert {
|
||||
|
||||
Reference in new issue
Block a user