Wednesday, 15 October 2014

GO lang RESTful backend testing


to test this you need send a put request with a body, the data should be in json format, text plain json like this:

for example if you want to update a object, you should send a json like this, instead of k-v map.


{"Id":"xxxxxxxxxx","Title":"aa","Date":"bb","ID":"cc","DayTheme":"dd","Description":"ff","EventID":"gg"}


No comments:

Post a comment