fix HTTP Code when no content + remove API calls specs