Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

http.request error?

edited July 2013 in Questions Posts: 1,976

I just started working on a live-updating chat room for Codea (We'll see how that turns out.), using http.request for connections and a raw GitHub gist as the server. Basically, I ran into a problem very fast. When I try and send a bit of text back to the server, it wasn't working. I used another project to display the status & headers of the HTTP request, and found that when (Note, the same URL) I use the GET method, it returns the text fine (200). When I use the PUT method (Or POST or PATCH), it returns File Not Found (404). Why is this happening and how is it even possible? From what I know of HTTP requests, the same URL shouldn't return 200 on one method and 404 on the other.



Sign In or Register to comment.