Eagles-DevOps / MiniTwit

2 stars 2 forks source link

Streamlining the responses #153

Closed Hopeberg closed 8 months ago

Hopeberg commented 8 months ago

In stead of using http.Errors in API's, we will streamline to only use w.WriteHeader(http.Status) The simulator does not expect a response body, which the http.Errors provide.