curl --location --request GET 'http://127.0.0.1:9000/api/user-service/has-username?username=machen' \ --header 'Authorization;'
{ "code": "string", "message": null, "data": true, "requestId": null, "success": true }