[BUGFIX] avoid magic numbers for statuscodes
[TASK] call the resource interceptors and create an uribuilder