1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-15 09:04:04 +02:00
joplin/CliClient/app/import-enex.js
2017-06-05 23:00:02 +01:00

17 lines
328 B
JavaScript

require('app-module-path').addPath(__dirname);
import { WebApi } from 'src/web-api.js'
// setTimeout(() => {
// console.info('ici');
// }, 1000);
let api = new WebApi('http://joplin.local');
api.post('sessions', null, {
email: 'laurent@cozic.net',
password: '12345678',
}).then((session) => {
console.info(session);
});