check-status ( json -- json )


Vocabulary
bitly.private

Inputs
jsonan object


Outputs
jsonan object


Definition


: check-status ( json -- json )
dup "status_code" of 200 =
[ dup "status_txt" of bad-response ] unless ;