Cannot use Postman mock with contentType == application/json
SebUndefined opened this issue · comments
Sébastien Tachier commented
General infos:
- The version of scaleway-sdk-go: v1.0.0-beta.16
- Go version: 1.20
- GOOS: Linux
- GOARCH: amd64
Line 239 in a5694eb
When using postman mock for development process, postman returns always "application/json; charset=utf-8" which does not fit the condition above and result in an error when parsing the content for the response.
It would be nice if this SDK could be used with postman mock api. I tried to find a way to remove this response header without success.