XML to JSONP converter for consuming APIs (xml2json.heroku.com) 13 points by matthewcford 16y ago ↗ HN
[–] matthewcford 16y ago ↗ motivation was to be able to consume the pivotal tracker api, which is XML only with a url like: http://xml2json.heroku.com/?callback=jsonp&url=https://www.pivotaltracker.com/services/v3/projects/27482/iterations/current?token=YOURPIVOTALTRACKERTOKEN [–] [deleted] 16y ago ↗ (comment deleted)
[–] joubert 16y ago ↗ Last year I made a service that converts data from spreadsheets or spreadsheet-like text files to XML. http://elev.at/
[–] davided 16y ago ↗ How do you call methods other than GET? Maybe you should add a method parameter, since JSONP is GET-only. [–] matthewcford 16y ago ↗ I only currently need the read-only APIs, but adding other methods shouldn't be too difficult. [–] matthewcford 16y ago ↗ Ok, just added support for other methods, although I haven't had the chance to properly test it yet. Just send a POST/PUT/DELETE, with the url parameter and the rest of the parameters will be passed on - probably won't work with a multipart post.
[–] matthewcford 16y ago ↗ I only currently need the read-only APIs, but adding other methods shouldn't be too difficult. [–] matthewcford 16y ago ↗ Ok, just added support for other methods, although I haven't had the chance to properly test it yet. Just send a POST/PUT/DELETE, with the url parameter and the rest of the parameters will be passed on - probably won't work with a multipart post.
[–] matthewcford 16y ago ↗ Ok, just added support for other methods, although I haven't had the chance to properly test it yet. Just send a POST/PUT/DELETE, with the url parameter and the rest of the parameters will be passed on - probably won't work with a multipart post.
6 comments
[ 4.4 ms ] story [ 30.1 ms ] thread