I would like to convert Json response to required data formats.
1. I am using an API, which compresses image and output response will be in Json(Text) format. How can I convert Response content into Image(Binary) data type? 2. I am using an API which converts HTML to PDF and output response will be in Json(Text) format. How can I convert response content into PDF(Binary) data type?
Note: we have utility JSON which helps in converting Json to Collection. But we need to convert Json to other formats, do we have any Assets or Codes for that?
1 - This seems to be in binary format. What does the API documentation say? Utility - HTTP has an action called HTTP Request File which you can use for this.
2 - What does the API documentation say about the response body and response content? If it's binary already(which seems likely to me) then you can use the same action HTTP Request File
API documentation doesn't says anything on API response. I don't see any HTTP Request File in HTTP Request VBO. Can you name the action and inputs params to be provided?
FilePath is another parameter in the action. This is the pdf file path where the binary data response from the API will be written into. For example - C:\myfile.pdf