How to call Parse.com API from libGDX java implementation?

I created a simple standalone game using Java / libgdx. Now I am trying to make calls using the Parse.com API service.

Question: What is the easiest way to make a call to the Parse.com API from a Java application created on the back of LibGDX?

+4
source share
3 answers

Found a great answer to this question here:

http://pastie.org/private/mfb3keufurzp5thfszndcq#2-3,5,9,37-109

API Parse.com. , Java- Net IO Java. HTTPS , , , .

:

httpPost.setHeader( "X-Parse-Application-Id", app_id); httpPost.setHeader( "X-Parse-REST-API-", app_key);

conn.setRequestProperty( "X-Parse-Application-Id", app_id); conn.setRequestProperty( "X-Parse-REST-API-", app_key);

+2

REST API.

. , API- REST Java.

0

API Libgdx Net - (*), API- Parse REST. , Net.HttpRequest, REST- .

API Libgdx Net , Libgdx, API Java.

(*) Android Desktop Java API, API- Libgdx Net (-) HTML ( iOS?).

0

Source: https://habr.com/ru/post/1537218/


All Articles