How to return custom http status and errorcodes


Return 404-error as Json

set @ResponseHttpStatus=404
select 'File not found' as Data

Return 404-error as HTML

set @ResponseHttpStatus=404
set @ResponseHttpMode='html'
select 'File not found' as Html

Last updated: 08.10.2015

Give us feedback

AngularJS <-> Microsoft SQL

Exchange data between your AngularJS application and your Microsoft SQL Server