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
When retrieving the split history for a trade, the following warning is logged by the RestMethodMetadata class in ResCU:
GET request declared as consuming method body as application/x-www-form-urlencoded. While body is allowed, it should be ignored by the server. Is this intended? Method: public abstract com.currencycloud.client.model.ConversionSplitHistory com.currencycloud.client.CurrencyCloud.historySplitConversion(java.lang.String,java.lang.String,java.lang.String) throws com.currencycloud.client.model.ResponseException
It's clearly a harmless message, but does cause unwanted noise in our logs. We could obviously disable that logger, but would prefer to see this resolved within the SDK. Just removing the @Consumes(MediaType.APPLICATION_FORM_URLENCODED) annotation from the CurrencyCloud.historySplitConversion method should do the trick.
Note that there are a handful of other GET methods defined in the CurrencyCloud with the same annotation, and so they will also log the warning.
The text was updated successfully, but these errors were encountered:
When retrieving the split history for a trade, the following warning is logged by the RestMethodMetadata class in ResCU:
It's clearly a harmless message, but does cause unwanted noise in our logs. We could obviously disable that logger, but would prefer to see this resolved within the SDK. Just removing the
@Consumes(MediaType.APPLICATION_FORM_URLENCODED)
annotation from the CurrencyCloud.historySplitConversion method should do the trick.Note that there are a handful of other
GET
methods defined in theCurrencyCloud
with the same annotation, and so they will also log the warning.The text was updated successfully, but these errors were encountered: