Skip to content

Commit

Permalink
little
Browse files Browse the repository at this point in the history
  • Loading branch information
eferhatg committed Apr 27, 2016
1 parent d28e918 commit b37cf9e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions routes/v1/question.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,11 @@ exports.register = function(server, options, next) {
}
}, {
method: 'POST',
path: '/v1/question',
path: '/v1/question/userquestions',
config: {
description: 'Add question route for both application',
tags: ['api', 'question', 'add'],
notes: ['Referandum uygulamasından data post ederken **option_a** ve **option_b** parametrelerini göndermenize gerek yok.',
'Kapıştır uygulamasından data post ederken **question_text** ve **question_image** parametrelerini göndermenize gerek yok.',
'Success durumunda verilen response hata durumunda statusCode 200 den farklı olarak dünüyor.',
'İsteğin başarımını response status code dan anlayabilirsiniz. Dönen dataya bakmaya gerek yok.',
'Headerlar zorunlu.'
notes: ['user sorularını çeker'
],

handler: questionController.addQuestion,
Expand Down

0 comments on commit b37cf9e

Please sign in to comment.