mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-15 09:04:04 +02:00
17 lines
328 B
JavaScript
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);
|
|
}); |