edgexfoundry/go-mod-core-contracts

JSON unmarshal error in HTTP client utility functions

Closed this issue ยท 0 comments

๐Ÿž Bug Report

Affected Services [REQUIRED]

The issue is located in: go-mod-core-contract

Is this a regression?

No

Description and Minimal Reproduction [REQUIRED]

Invoking any functions except GetRequest located in request.go to send a request to any API that has empty body response will get an error.

๐Ÿ”ฅ Exception or Error

unexpected end of JSON input

๐ŸŒ Your Environment

Deployment Environment:

EdgeX Version [REQUIRED]: 3.2 dev

Anything else relevant?