Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Woogil Ahn
Added: May 10, 2018 9:37 AM
Modified: May 10, 2018 9:38 AM
Views: 20
Tags: no tags
  1.             String jwtString = jwtService.createJWTStringWithExpire((int) gsn, applicationName);
  2.             String authorization = new StringBuilder(jwtService.BEARER_TYPE).append(" ").append(jwtString).toString();
  3.            
  4.             예)
  5.             ApiResponse<PostboxSendResponse> apiResponse = postBoxFeignClient.chipGift(apiRequest, authorization);
  6.  
  7.             @PutMapping(value = "/setUserChipGift")
  8.             ApiResponse<PostboxSendResponse> chipGift(
  9.               @RequestBody ApiRequest<ChipGiftSendRequest> request,
  10.               @RequestHeader("Authorization") String authorization
  11.             );