node js api writing format.
1.file start with one line space with "use strict"
2.validate API fields
3.error handling with proper message
4.return response with proper key name.
5.file must not with with extra blank line.
1.file start with one line space with "use strict"
2.validate API fields
3.error handling with proper message
4.return response with proper key name.
5.file must not with with extra blank line.
No comments:
Post a Comment