4 ms·
Ask HN: Is there an API service to post JSON and have it formatted
Is there a service that exposes an API to send JSON strings, and they format it pretty like http://jsonlint.com and give you a public link?
Ex Request:
http://someservice.com/create -d 'json={"key":"value"}' -X POST
Ex Response:
{"url":"http://someservice.com/aEv3HcZ"}
- msahil 15y agofree or paid service? I dont know of any but i am in processes of making such API. How soon do you want it?
- nodesocket 15y agoHa, we were thinking of pounding this out tonight because we need it. Do you have anything done?
- msahil 15y agonothing yet, but looks like you need it too soon...how about a weeks time from now. I guess it's not feasible for you
- byoung2 15y agoI wrote a PHP class that does this for both JSON and XML, but no public API for it. Let me know if you want the code for it.