Content Deep Dive
Neo4j & the REST API from Java When Authentication Is Required [Community Post]
Blog post from Neo4j
Post Details
Company
Date Published
Author
José Álvarez
Word Count
289
Language
English
Hacker News Points
-
Summary
The Jersey Client API is used to utilize the REST API from Java when authentication is required, allowing developers to create a WebTarget instance that can derive other web targets. A Client instance is first built using one of the static ClientBuilder factory methods, and then a WebTarget is created from it. The URI passed to the method as a String represents the targeted web resource's context root, enabling the derivation of other web targets by appending paths to it.