Binary data / change whole response #449
Unanswered
benperiton
asked this question in
Q&A
Replies: 1 comment 7 replies
-
|
@benperiton Yes, Currently there is no api support for modifying the request itself
Is it possible to share a screenshot of how this works in other clients, We can try to solve this problem in the app. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Hey!
Just wondering if it is possible to change the entire result from a request?
For instance, if I call https://graph.microsoft.com/v1.0/me/photo/$value I get a binary response, which doesn't show the actual image in the Response tab, but the raw data. What I would really like to do is pass it through btoa() and return a base64 representation of that image.
So I guess my question is; Can Post Response scripting return a new value to be used? Or is it purely for setting variables etc?
Beta Was this translation helpful? Give feedback.
All reactions