Skip to content

Patch a Bin

Under normal use this will be very rarely used. The idea behind making a PATCH request to a bin is to extend its life (see limits) without posting anything to a bin or reading anything from a bin.


PATCH the bin:

curl -X PATCH https://webhookbin.net/v1/bin/456ce34d-19f6-4561-8bcf-f819001f9d50
import requests

res = requests.patch("https://webhookbin.net/v1/bin/456ce34d-19f6-4561-8bcf-f819001f9d50")
print(res.text)

Response:

{
  "patched": true,
  "messcount": 28
}