• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
2

How to send pdf as encoded base 64 file stream to "transientDocuments " api request in postman

Community Beginner ,
Aug 18, 2023 Aug 18, 2023

Copy link to clipboard

Copied

Hi Team,

 

I'm trying to send below request for the rest api call "transientDocuments" in postman with json body, my pdf is converted into base 64 encoded file stream in json body.

But getting the response as HTTP 400 and message is "Must provide file body".
Will adobe sign supports pdf as stream to integrate with 3rd party?

Could you plese help me what's worng here in my request.

 

"Mime-Type":"application/pdf",
"File-Name":"AUD012_STD_QAR-60873_NA_PRV_CN_20230816003042.pdf",
"File":"JVBERi0xLjUKJcfl9OXwCjIgMCBvYmoKPDwgL0ZpbHRlciAvRmxhdGVEZWNvZGUgL0xlbmd0aCA2NTIgPj4Kc3RyZWFtCnjapVRtb5swEP4c/4r7UlXaEscmGAhaJ23quq5rtXZh64eqqggY6ghMBk6b7dfvzEuTatqLtCTH+R4/99wB55ADgMtj9+Icjj+8eb8gGFr7KutGVToElzLKZ9nWs+jZ8Ud4GHY4t9CnxQ45V3qzxQweUDZxfR8TKaeyCO4Cug28O8+1GZkqJEidVKnSeQhfopNJYPFms14XSqZQqETqRsLhKn6Iw3XqlgVFjFJ6GMLDkak3cgyq9+vBx8NiOSzqflGbdtHWkOYyzuVC/ZAh6E1RjD3ubP25s7d5Ede50k0IN5ZwC0Vo72cMpvd175ett4n3Mk5lDafRxXkIbPndyGaMoMrvzZFAZpNUa6x3w28tW+mVTMypKYsXIQQMht6yqjK/U/HFTqXt6lch/iT0r+04L/8oY0yGwLRam+nZ9WK6emwmgvpTU5VJbKYnlTaNpclyKVPkhtA97b30ENo3OE1lFm8Kk7Up5Buxzw38GRX48UD4HoaeN6Mu812oJVyDJoz6bcjwOxmCPtGjc8+ZC0hKwmBFHDhD0RHvuNY5c45E3B69jcjInSMUpWQ0zRhwD6KMjF4xNvMZc5doC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c//TKugnFvzjjAvnDPH+8Jq6fUP0JKeGFXhd6RT14OUV68/n1V4lz8wzbr79qTKRPyFv0ajGRPgfhqb368RvjX9yO3xjfhV7BOIhx/EYvput1/Mb9d+fh6zx+oyf08qqTcczv4zd6Xq77+I0qfs3jy7dX1Rstg56qdzp+o4N95+M3Oth3OX6jI3vX4zeq+LsdH6aoO9/9+DDHo/NtSvEwRxbx3o8P8xXfNY4Pczxg36/jw/z5F8/jw/w51Ov48ow/RCmY36r69i69CcWA5vFhjizq/jk+TFEY3un4MEVheOfjwxQzxl2OD1Nk/Hc9PkyR8N3t+DBFwnf348uXet3b8eU7vn4/vpwRGseXMcb7dXw5I3QeX77jX7yOL2eE3pH9PDdTjPE+vnyHOPP48vR0zJ/jy9M/nOn48vQqnPn48vS4Zjm+PL0mZj2+PD2u2SLVeR4r8V39+DDFHT0/T7Un5N0x9+PDFDf5HMeHKYq5+To+TFHMzfP4MMUkMq/jw/SjEvN9fJh+4ujv48P0E2Ocx4fJqTlhf8lnkiDElfWT4vlMiCvrS0JcWV8S4sr6khBX1pe/OIjfeBvajt8YB4FSMv0YQinpvJKwx4I
 
 
TOPICS
Manage documents , Send documents

Views

629

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 18, 2023 Aug 18, 2023

Copy link to clipboard

Copied

LATEST

Here the file name mentioned is dummy one with simply text that is converted to base64 encoded string for my testing, full string not posted in above due to length.

I'm convereted my pdf to file stream based on the adoeb sign api usage. Reference :https://opensource.adobe.com/acrobat-sign/developer_guide/apiusage.html#upload-a-document
Below is the API i'm trying to invoke:
https://api.in1.adobesign.com/api/rest/v6/transientDocuments

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines