bsusta / lanhelpdesk-nasadenie

0 stars 0 forks source link

Doplnit do dokumentácie API vzor requestov #58

Closed ladislavbili closed 7 years ago

ladislavbili commented 7 years ago

Doplnit do dokumentacie API priklad API callu, aby ku vsetkemu bola kombinacia request, response napríklad:

REQUEST: https://dev.lanhelpdesk.com/api/v1/token-authentication, headers: { 'Accept': 'application/json', 'Content-Type': 'application/x-www-form-urlencoded' }, method: 'POST', body:'username=aaa&password=bbb', })

RESPONSE: { "token": "eyJhbGciOiJSUzI1NiJ9.eyJpZCI6MjMwMCwidXNlcm5hbWUiOiJhZG1pbiIsImVtYWlsIjoiYWRtaW5AYWRta6LzteHavMWV9OUg" }

Primarne pre post Tasku a userov

Corrigan14 commented 7 years ago

Pozri task #69 ..je to takto ok?