Hyperjo / API-Dokumentation

3 stars 1 forks source link

Valid-Request strange API behaviour #5

Closed Demonofpower closed 2 years ago

Demonofpower commented 3 years ago

In the documentation: Request: https://api.hyperjo.de/?version=1&request=valid&key=978ba661-9ea9-430b-b2e1-38930d735fd9&characterId=421

Expected result: {"valid":false} or {"characterId": 421,"valid":true}

Result: {}

Demonofpower commented 3 years ago

After some more investigation: You can give any valid GUID as input and the result will be {} but if you deliver an invalid GUID like "123-123-1" you get {"valid":false} as expected

Markus1812 commented 2 years ago

Thanks for the report. If you now provide a valid key (uuidv4) with the corresponding characterId (XXXX) the result is {"characterId": 421,"valid":true} as expected.