task lists filed book

node v6.17.1
version: 1.0.0
endpointsharetweet
var requestify = require('requestify'); var bookId = '58b3338981eb2f030057db64'; var baseUrl = 'https://api.fieldbook.com/v1/' + bookId; var options = { headers: {accept: 'application/json'}, auth: { username: process.env.FIELDBOOK_USER, password: process.env.FIELDBOOK_KEY } }; var url = baseUrl + '/tasks'; var record = { // Set attributes for new record here }; var response = await requestify.post(url, record, options); JSON.parse(response.body);
Created from: https://fieldbook.com/sheets/58b3338981eb2f030057db6a#
Loading…

no comments

    sign in to comment