go-json-rest
go-json-rest copied to clipboard
A quick and easy way to setup a RESTful JSON API
Would like to get the ability to get the bytes written in response. Consider this a RFC pull request to get your ideas... let me know how you would like...
Is there have a multi-instance example ? On a single server I have multiple ports Mapping ,and how to do?
I'm using Ginkgo as a testing framework and I noticed that it doesn't directly plug into Ginkgo because Ginkgo will not directly expose the `*testing.T` in it's tests. By using...
how can i upload file use go json rest? I am just use this code to do success! func upload(w rest.ResponseWriter, r *rest.Request) { r.ParseMultipartForm(32
sorry for my noob question, but how to get param from post json (r.PathParam("amount")), i donnt have the field in any struct, i only need the value
I understand that the library uses `Request.Env` as a way to pass context between middlewares (https://github.com/ant0ine/go-json-rest/issues/153) but this "context" doesn't go beyond middlewares that don't understand `rest.Request`. For example it...
The current CORS curl demo will not return a response containing CORS headers. I think it would be better to add a curl demo that returns a response containing that....
Fix StatusMiddleware: concurrent map iteration and map write
Im having a problem passing a float in .GET with params. Is there any solution for this problem? Any double will return "resource not found"