Closed vogster closed 6 years ago
example (for localhost)
curl -v --header "Content-type:application/json" --header "Authorization:token eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpbWFnZSI6IiIsIm5vanMiOiIiLCJ1c2VybmFtZSI6InJlY29pbG1lNTYifQ.xle4ofAfobpZh2_FbuCwNoVrVdR_mymohJIMfAUwLZQ" --request POST --data '{"body":"recoilme5 passwor pssword"}' http://sub.localhost:8081/editor/0
POST https://tst.tgr.am/editor/0
HEADER token="token"
FORM title: Тест ogimage: body: Тест добавлении статьи tag: mobile