Zer berri

Eguneratze eta hobekuntza berriak Password Pusher

← Itzuli

API Authentication Update

Update
If you are recently getting Unauthorized 401 responses from the API when using Bearer Token Authentication, make sure to send the Authorization request header in the correct format:

Authorization: Bearer YOUR_API_TOKEN

Without the "Bearer" string in the header value, authentication will fail.  This is a recent enforcement to address a potential security issue.

curl -X POST https://us.pwpush.com/api/v2/requests \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -F "request[request]=Please provide your hosting information here." \
  -F "request[close_after_duration]=8" \
  -F "request[name]=Database Access Request"

If you are still having issues, contact us and we'd be happy to help out!