You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using jsonapi with gin in a go project. In my create handlers I need to marshal the response and send it back, but the function sets the response code to 200 automagically and I want 201. Gin will not let me override the 200 response after this code block runs. Could you allow for a custom response code on this function if you insist on setting headers?
Thanks!
-Geoff
The text was updated successfully, but these errors were encountered:
I am using jsonapi with gin in a go project. In my create handlers I need to marshal the response and send it back, but the function sets the response code to 200 automagically and I want 201. Gin will not let me override the 200 response after this code block runs. Could you allow for a custom response code on this function if you insist on setting headers?
Thanks!
-Geoff
The text was updated successfully, but these errors were encountered: