thiagolocatelli / parse4j

Java Library to deal with Parse (parse.com) REST API
http://thiagolocatelli.github.io/parse4j
143 stars 117 forks source link

extended initialize to accept custom server #66

Closed philsippl closed 8 years ago

philsippl commented 8 years ago

This allows using the module with the open source parse server. https://github.com/ParsePlatform/parse-server

giovanymoreno commented 8 years ago

This is exactly what I was looking for, but I think you are missing the getUrl() method from ParseBatchCommand class.

thiagolocatelli commented 8 years ago

merged

raytrask commented 8 years ago

Love this change!

I assume we need to setup a Rest key (which is not default out of the box) for this code to work. Also I am assuming the serverPath is fully qualified URL, e.g. http://...../parse.

Are these assumptions correct?

SeloSlav commented 7 years ago

How can I get this working in my project? Can I just change the API_ENDPOINT value in ParseConstants.java to https://parseapi.back4app.com, for example?

philsippl commented 7 years ago

@santafebound Just do an initialization at the beginning: Parse.initialize("appid", "", "http://parseserver/parse");