Skip to content

Instantly share code, notes, and snippets.

@cjvirtucio87
Created March 17, 2017 02:41
Show Gist options
  • Save cjvirtucio87/0cbfbcd5d92de059813b9653aaa194e8 to your computer and use it in GitHub Desktop.
Save cjvirtucio87/0cbfbcd5d92de059813b9653aaa194e8 to your computer and use it in GitHub Desktop.
@PostMapping("/resumable_uploads")
@Timed
public ResponseEntity<?> createResumableUpload(
@RequestHeader(value="Content-Length") Long contentLength,
@RequestHeader(value="Upload-Length") Long uploadLength,
@RequestHeader(value="Tus-Resumable") String protocolVer,
@RequestHeader(value="Upload-Metadata") String uploadMetadata
) throws URISyntaxException {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment