[RSS Feed/News] REST API: Unable to create an alert that isn't coming from a specific user

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
When using a super admin key to create an alert through the API you'll get a 403 Forbidden response if you don't pass an XF-Api-User which makes it a requirement to have an alert that is coming from a specific user rather than having a system / anonymous alert

Example request:

Code:

Code:
curl --request POST \
  --url http://xf22.localhost/api/alerts \
  --header 'Content-Type: multipart/form-data; boundary=---011000010111000001101001' \
  --header 'XF-Api-Key...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom