You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
alexrmacleod
changed the title
Parse-server support?
object created = { error: 'unauthorized' } parse server and a mongodb instance on a local device and using port forwarding
Jul 9, 2016
Does this work with parse-server?
I am running parse server and a mongodb instance on a local device and using port forwarding. Will kaiseki work with this setup?
I try to save an object like so but I get back:
Code that can't seem to save an object
`
// instantiate kaiseki
var config = {
serverUrl: 'http://42.3.160.96:1337/parse',
applicationId: 'x',
// restAPIKey: 'x'
// masterKey: 'x' // optional
// mountPath: '/parse' // optional ("/parse" by default)
};
// var kaiseki = new Kaiseki(config);
var APP_ID = 'x';
var REST_API_KEY = 'x';
var kaiseki = new Kaiseki(config, REST_API_KEY);
//new tumblr to query
var blog = new tumblr.Blog('the-streetstyle.tumblr.com', oauth);
var tumblrAccount = {};
//username - profile picture - website for parse
blog.info(function (error, response) {
if (error) {
throw new Error(error);
}
console.log('blog.INFO.RES ------------');
console.log('blog.title ------------');
console.log(response.blog.title);
tumblrAccount.title = response.blog.title;
});
blog.avatar(512, function (error, response) {
if (error) {
throw new Error(error);
}
console.log('blog.AVATAR.RES ------------');
console.log(response.avatar_url);
tumblrAccount.avatar_url = response.avatar_url;
});
`
CLI response below:
`
object created = { error: 'unauthorized' }
object id = undefined
`
The text was updated successfully, but these errors were encountered: