+1
Ready to integrate with parse.com!
Ok...I am at a point where I am trying to figure out the best way to integrate my rarewire app with parse.com apis and I definitely need help with a starting point!
As I see it, I have two options:
1) REST API - but, I don't think I can setup the correct HTTP header info to make this work
2) JavaScript - I have heard that the Rarewire guys might have done this already; if so, I am hoping to "borrow" some example code to jumpstart my efforts :)
I would be happy to work from a "dump" of javascript that you have used in a rarewire project. No description is necessary. I am willing to work my way through it and ask specific questions if I get stumped.
Hope you can help!
Steve
P.S. I would love to see your Parse integration for Rarewire listed in the Parse.com "official 3rd party api" list that they have on their website!
As I see it, I have two options:
1) REST API - but, I don't think I can setup the correct HTTP header info to make this work
2) JavaScript - I have heard that the Rarewire guys might have done this already; if so, I am hoping to "borrow" some example code to jumpstart my efforts :)
I would be happy to work from a "dump" of javascript that you have used in a rarewire project. No description is necessary. I am willing to work my way through it and ask specific questions if I get stumped.
Hope you can help!
Steve
P.S. I would love to see your Parse integration for Rarewire listed in the Parse.com "official 3rd party api" list that they have on their website!
Service d'assistance aux clients par UserEcho
In addition to parse, we have also had success with Appcelerator's cloud services:
http://www.appcelerator.com/cloud/
It is powerful library of services for creating social applications.
That could not have been easier. I copied your exact content to a wire file, pasted in my Parse application Id and REST API key and it worked; I was creating users in Parse.
I now know what I will be doing for the rest of the weekend :)
Could you add to the example and show how to handle something like this that requires sending data and receiving it? Can we reuse the datasource for everything we send to Parse? Do we need a new one for incoming data?
You're awesome!
With any restful API you can reuse the httpheader that contains your auth tokens, but you will need to create a new datasource tag for logging in. You need an httpmethod of GET and a new source.
<datasource name="parseSignUp" datasourceerror="parseSignUpError" httpmethod="post" source="" query="/result" providertype="json" httpheader="parseHeader" urlcacheduration="1" />
<datasource name="parseSignIn" datasourceerror="parseError" httpmethod="get" source="" query="/" providertype="json" httpheader="parseHeader" urlcacheduration="1"/>
<assign property="datasource:parseSignIn.source" value="https://api.parse.com/1/login?username=[eval:encodeURI("[object:SIGNIN-FORMtextfield.text]")]&password=[eval:encodeURI("[object:SIGNIN-FORMtextfield.text]")]"/>