Update API tests

This commit is contained in:
xfarrow
2025-06-12 10:12:51 +02:00
parent 0733415397
commit fd10337d14
18 changed files with 9 additions and 9 deletions

View File

@@ -0,0 +1,11 @@
meta {
name: DeleteContactInfo
type: http
seq: 2
}
delete {
url: http://localhost:3000/api/people/contactinfos/2
body: none
auth: none
}

View File

@@ -0,0 +1,11 @@
meta {
name: GetContactInfosByPerson
type: http
seq: 1
}
get {
url: http://localhost:3000/api/people/1/contactinfos
body: none
auth: none
}

View File

@@ -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"
}
}