Forum Discussion

Re: Need help with TinyURL API via JSON

SOLVED

It turns out I need to use the header content-type: application/json or else TinyURL's API will give me a "no URL found" error (which doesn't match the problem at all). I was able to track it down using https://apirequest.io/ and sending all sorts of messed up stuff at TinyURL.

Jeff, I don't know if I needed to use the "to_json" filter or not, but it works with it so I am not going to take it out now!

------------------------------
Edward Hefter
www.Sutubra.com
------------------------------
No RepliesBe the first to reply