Encoded slash (%2F) returns 400 error
If request url contains encoded slash value, Unit-service AKS returns an error: HTTP Status 400 – Bad Request
This can be checked running next V2 tests:
test_get_conversion_as_abcd_by_namespace_and_symbols
test_get_conversion_as_scale_offset_by_namespace_and_symbols
test_get_get_unit_by_namespace_and_symbol
test_get_units_by_symbol
API calls example:
curl --location 'http://unit-service/api/unit/v2/unit/symbol/us%2Fft' \ --header 'Authorization: Bearer ..' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --header 'data-partition-id: opendes'
Result:
HTTP Status 400 – Bad Request
Edited by Yauheni Lesnikau