Skip to content

Tag: api

Can I use deprecated classes?

Will using deprecated classes cause severe problems to the program? What is the meaning of deprecated? Can I still work with deprecated classes? An example for it is the ProgressDialog view in Android. It deprecated from API 26 and the replacement is the ProgressBar view. What happens if I will still use the …

Create Post Api in Java for Test Rail

Im trying to create a java post request to create a test run on test rail, however it doesn’t seem to be working heres my code: The testrail documentation is here im looking for the add run http://docs.gurock.com/testrail-api2/reference-runs Any help here how to make this actually work , is completing b…

Request working fine in postman, but getting a 403 in OkHTTP

I’m trying to make a request to the Genius API, but I’m running into some issues using OkHTTP. This is my small script I’m using to make the call: When I run this script, I get a 403 error: For reference, here is a picture of me making the same exact request with Postman, and it works: Any i…

Creating a string attribute in Weka Java API

I’m trying to create a new string Attribute using Weka’s Java API… Reading through the API javadocs, it appears that the way to do so is to use this constructor: but I’m stuck as to what I should pass into the attributeValues parameter… when I put in null, Java complains about pr…