I have looked around online for a Java Library for interfacing with the Spark Cloud API, but I have not found anything yet. Has anyone written an opensource Java controller for the Spark Cloud API?
I know people must be controlling their Cores with Java, so I guess everyone is just writing their own controllers?
I guess I will build one and put it on github. If anyone has time for a code review, let me know and I will message you when I have something review worthy.
So far it supports calling functions and reading variables.
But I need some help. I can’t get it to delete a token. I can delete tokens using curl, but not with my HTTP client. (I am using http://unirest.io/java.html)
I believe the issue is to do with how Unirest creates a DELETE request. It creates DELETE requests with a body. But the example curl command for deleting a token creates a GET request (without a body).