Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I just checked the API documentation. It seems that all the requests are through HTTP POST, including Get Status and Get Link, wonder how can that be considered as RESTful?


Not "pure restful", but if it gets the job done, what's the problem?

Alternatively, if they need a body for their "GET" requests, that might be why it's a POST?


Nope, not RESTful but still looks usable and they would surely iterate and improve. Violates third, fourth and last of Roy Fieldings constraints [1], last one being really helpful while using APIs [2]

[1] http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hyperte...

[2] https://en.wikipedia.org/wiki/HATEOAS

Cashfree looks promising and something really needed in India especially the bank transfer API. Good luck to the team.


Hi, Thanks for looking around. You might have seen the documentation of Cashfree Payment Gateway and yes, it's not restful.

Documentation of Bank transfer products (Payout and NEFT re-conciliation) is not public yet. We send it to our merchants during their on-boarding. We understand that it makes evaluation by new/prospective customers at bit harder and thus, are in-process of revamping our doc site to include documentation of all the products we support.

Do drop us a note at care@gocashfree.com. We will share it with you.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: