Skip to content

Instantly share code, notes, and snippets.

View gist:889199690ff6e77c7563a7b271216bd6
var Request = require("request");
var dftoken = "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjo0MCwiZXhwIjoxNDU5Mjk4NzcyfQ.uEIQ-Wb3u1UqqauqWRWFIwg4RBZiqHCrS2HRpct0054plQXix7NmRfgdPoZjH2ZW4dGwQE65oo_FxMjqStamOg";
var suggest_req= {
method: 'POST',
url: 'https://dev.designfeed.io/api/render',
headers: {
'cache-control': 'no-cache',
'authorization': 'bearer ' + dftoken,
'accept': 'application/json',
View gist:4fc7b113cf3b2d688b80b666860157eb
var suggest_req= {
method: 'POST',
url: 'https://dev.designfeed.io/api/render',
headers: {
'cache-control': 'no-cache',
'authorization': 'bearer ' + dftoken,
'accept': 'application/json',
"content-type": "application/x-www-form-urlencoded"
//'content-type': 'application/json'
},