Many thanks for your reply.
I'm rather new in the security domain and still have to learn a lot. So more than just having this functionality available I would like to understand what actually happens to improve my insight so I really appreciate your effort to look further and understand why I'm asking this.
I now see it was not the best idea to create two conversations.
One with my actual problem (use case) and this one with the functionality question. So allow me to summarize my use case here, for details I refer to
this conversation.
My goal is to intercept a file upload HTTP POST request, the request body is e.g. a png (real binary content no encoding e.g base64) and replace this request body with the binary content of another file. I tried already several things (see the other conversation) but for some reason the content change and the server consider it as an invalid file.
The approach with the HAR import should be possible but actually my issue is not the import, despite the question, but how getting the binary content in the request without changing it. I'm missing some knowledge so if you could point me to some resources also much appreciated.
Many thanks in advance.
Best regards,
Sam