Attempting to return some http status code

For the api operations.