I believe it's possible to use JSONP API without JavaScript on client side provided the API follows "common JSONP contract". The latter means the server is expected to return JSON data wrapped into a function call, i.e. the server response (body) would look something like jsonpCallback({"key": "value"})
.
To retrieve the JSON payload you just need to strip off the function wrapper:
$server_response =~ s/^\s*\w+\((.*)\);?\s*$/$1/s; # now it's pure JSON: '{"key": "value"}'
N.B. In theory the function name may require much harder regex but again, if the "common contract" is in place, you define a simple callback function name in in your JSONP request.