Live data from Hacker News

Deployd: Create RESTful JSON APIs using a GUI interface

deployd.com

11–20 of 46 posts

Re: Deployd: Create RESTful JSON APIs using a GUI interface

#12
This looks pretty interesting.

A small thing: For cancelled DELETE requests like shown in the video, it would be better to return 403 Forbidden [1] instead of 400 Bad Request [2]:

    10.4.1 400 Bad Request
    The request could not be understood by the server due to malformed syntax.
Vs.

    10.4.4 403 Forbidden
    The server understood the request, but is refusing to fulfill it.
[1] http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10...

[2] http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10...

Re: Deployd: Create RESTful JSON APIs using a GUI interface

#18

I would love to look at the docs and tutorials but I keep getting: An error has occurred: {"code":"ENOTFOUND","errno":"ENOTFOUND","syscall":"getaddrinfo"} Either way, this looks like an awesome product and I can't wait to learn more.

Hit f5 when that happens. I get it to come up eventually.

Re: Deployd: Create RESTful JSON APIs using a GUI interface

#19
post #12

This looks pretty interesting. A small thing: For cancelled DELETE requests like shown in the video, it would be better to return 403 Forbidden [1] instead of 400 Bad Request [2]: 10.4.1 400 Bad Request The request could not be understood by the server due to malformed syntax. Vs. 10.4.4 403 Forbidden The server understood the request, but is refusing to fulfill it. [1] http://www.w3.org/Protocols/rfc2616/rfc2616-sec…

That's actually possible, 400 is just the default code: cancel("You're not allowed to do that", 403); I'm not sure why we didn't show that in the video.

Edit: Unless you're saying that 403 should be the default code?

Re: Deployd: Create RESTful JSON APIs using a GUI interface

#20
post #16
post #11

An error has occurred: {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect"}

mine is: An error has occurred: {"code":"ENOTFOUND","errno":"ENOTFOUND","syscall":"getaddrinfo"}

Try Google cache for now: http://webcache.googleusercontent.com/search?q=cache:http://...
Post reply on HN