- GET Method
@QueryParam("reference_id") String referenceId
http://localhost:38000/shipments?reference_id=75706985480
---------------------------------------------
@Path("/getTicket/{ticketId}")
@PathParam("ticketId") String ticketId
---------------------------------------------
@HeaderParam(HttpHeader.X_HTTP_MERCHANT_CODE) String merchantCode
- POST Method
@FormDataParam("data") FormDataBodyPart bodyPart
bodyPart.setMediaType(MediaType.APPLICATION_JSON_TYPE);
final fileRequest req = bodyPart.getValueAs(FileRequest.class);