I'm trying to output binary data that is sent from HTTP POST to image file(jpeg/png).
Now I can already get binary data from HTTP POST using AsyncHttpServer's socket and I can see the request body content. But I can't output this data to image file using open() and write().
How to output binary data to image file? Any help is appreciated.