I want to load a file(docx e.g.) from a REST API and store the content directly in a php variable, without any downloads to the file system. I know I could save the file at a certain location and access it, but I want to skip this step.
Is this possible? So far I have a "letter salad" after the REST request like this:
(‡E×à•“B)ÁëÒæØšB¯Š4k‹H!“øßWûIHœìRWä²à•æym1«Ë'kŠQ£«ØY¹d8‰J»MÅ~ß^/¾²"’pJtP±=Dv¹þt²ºÝ{ˆEªv±b["Áy”[°"–èÁ¥•ƒ”>† ÷BÞ‹ ðóåò—è-¨a°õêÔbg¨øþ”^w&LdÅU·±Éª˜ðÞh)(ó§^¤,ú„2U¶{âVûxš60~0¡Yy; ¯û™Z´‚âFú!lÚÅ1(®Pîlª,ßÇðÄºÖÆú†æJˆ1õÜšr\±B»Áÿ‡ÜEBûÇ® ìM@ÏŽÖ¡ i{øf/"í Äÿ߉Ž;D© ‡@OžTx„»_Ù,žÁ'EjDrH9¾=)NerÈ“ mCÈ 0g+´WŽ•OeH˜TÚ‚PŽ¿$^™tà™ùç–ßü„³œ¿ÏÌÏpþ™ù]›>pÿ3äÏîÊwrôèI èstÜÉxJ#tÏãÿ-æ½È´³LÒmþáÌÃL×T/ü¬‰dLLè£ÏýÍz ›·ðú/ÿ)
which represents the file, but I cant access the content of the file.