-
Notifications
You must be signed in to change notification settings - Fork 312
Closed
Description
Dear gurus,
I am currently trying to get project list and branches of a project, but my code failed at the beginning. The exception is
com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
at [Source: <title>Request Rejected</title>The requested URL was rejected. Please consult with your administrator.
Here is my code:
final String URL = "https://example.com";
final String token = "myToken";
api = GitlabAPI.connect(URL, token);
System.out.println(api.getProjects().size());
Could you please take a look?
A basic tutorial in readme would be better, I tried gitlab python API it works but I prefer to use Java.
Thanks.
Metadata
Metadata
Assignees
Labels
No labels