mirror of
https://github.com/xfarrow/blink
synced 2025-06-27 09:03:02 +02:00
Update API tests
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
meta {
|
||||
name: DeleteContactInfo
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
delete {
|
||||
url: http://localhost:3000/api/people/contactinfos/2
|
||||
body: none
|
||||
auth: none
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
meta {
|
||||
name: GetContactInfosByPerson
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://localhost:3000/api/people/1/contactinfos
|
||||
body: none
|
||||
auth: none
|
||||
}
|
@@ -0,0 +1,18 @@
|
||||
meta {
|
||||
name: InsertContactInfo
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://localhost:3000/api/people/myself/contactinfos
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"content": "www.john.com",
|
||||
"info_type": "WEBSITE"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user