go-json-rest-examples icon indicating copy to clipboard operation
go-json-rest-examples copied to clipboard

Examples for go-json-rest

Results 8 go-json-rest-examples issues
Sort by recently updated
recently updated
newest added

``` &rest.Get("/message", func(w rest.ResponseWriter, req *rest.Request) { ``` should be ``` rest.Get("/message", func(w rest.ResponseWriter, req *rest.Request) { ``` ? Two doc updates: rather than moving the files into $GAE, user...

Hello. It's possible to use your server in Openshift? I have copied hello world example to my repository: https://github.com/Syjgin/zerotram-server After this, I want to use it in Openshift environment (throurh...

Hey @ant0ine, In example GORM, if I move Reminder structure and its get, post, put, delete functions into a sub folder called 'models' and also save .go file as sub...

Authentication = Is user/pass correct? Authorization = Does authenticated user have access to xyz? Added a jwt/demo.sh script to better see/test the jwt code.

local running the program. and local run curl as example. curl -i -X DELETE http://127.0.0.1:8080/cities/562 HTTP/1.1 405 Method Not Allowed Content-Type: application/json X-Powered-By: go-json-rest Date: Sun, 15 Mar 2015 15:25:32...

Hi, This is beyond me, but are you able to provide an example to use go-json-rest with tokens? A sample of a secure api server

Hey @ant0ine How do you usually test your routes (status code, body etc)? A go-json-rest route expects `w *rest.ResponseWriter` and `r *rest.Request`, but using `NewResquest` and `NewRecorder` we get `httptest.ResponseRecorder`...