We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b9a2dc commit f8dd974Copy full SHA for f8dd974
1 file changed
api.go
@@ -131,6 +131,7 @@ func SubmitAssignment(config configuration.Config, filePath string, code []byte)
131
}
132
133
req.Header.Set("User-Agent", fmt.Sprintf("github.com/exercism/cli v%s", VERSION))
134
+ req.Header.Set("Content-Type", "application/json")
135
136
resp, err := http.DefaultClient.Do(req)
137
if err != nil {
0 commit comments