When attempting to pass a string as a userid via the api https://users.roblox.com/v1/users/{userid} (GET), it does not apply the json header alike its counterparts like https://users.roblox.com/v1/users/{userid}/status (GET) and instead outputs it as a raw json encoded array - basicly raw html. This could cause improper/unexpected behavour when attempting to error handle for the client. I have attached two images bellow, one is the expected result (when a number is passed but no user exists) and the other is the actual result (when a string is passed).
Time: 12:15 BST
Date: 09/08/2020
Expected Result (number):
Actual Result (string):
How to reproduce:
- send a string via the api at https://users.roblox.com/v1/users/{userid}
- Observe the header not being changed to JSON.
If this is in the wrong category, can I request it gets moved to the correct category as I am unaware what this belongs in.