Files
2026-07-13 12:31:34 +08:00

54 lines
1.6 KiB
HTTP

# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection).
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
POST {{baseUrl}}/api/getNotifyOfUser
Content-Type: application/json
X-Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoxLCJleHAiOjE2ODc3OTA3Njh9.KFGNKMXXcepHdHr88rivBWbXywX_PF0p5SqLnbcosKA
{
"type_id": 2
}
###
POST {{baseUrl}}/api/getNotifyListOfUser
Content-Type: application/json
X-Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoxLCJleHAiOjE2ODc3OTA3Njh9.KFGNKMXXcepHdHr88rivBWbXywX_PF0p5SqLnbcosKA
{
"page": 1,
"size": 10
}
###
POST {{baseUrl}}/api/updateNotifyOfUser
Content-Type: application/json
X-Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoxLCJleHAiOjE2Njc4MTU2ODN9.sMRpUyejWi2_-NU3664rO0PbtKat_uNjlVrRfb5RirQ
{
"type_id": 1,
"value": {
"email_list": ["123@qq.com"]
}
}
###
POST {{baseUrl}}/api/testWebhookNotifyOfUser
Content-Type: application/json
X-Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoxLCJleHAiOjE2Njc4MTU2ODN9.sMRpUyejWi2_-NU3664rO0PbtKat_uNjlVrRfb5RirQ
{}
###
POST {{baseUrl}}/api/handleTestNotifyById
Content-Type: application/json
X-Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoxLCJleHAiOjE2Njc4MTU2ODN9.sMRpUyejWi2_-NU3664rO0PbtKat_uNjlVrRfb5RirQ
{}