function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ravikant kediaRavikant kedia 

Upload zip file in static resources via Httpresponse ?

I am making one project in which I send a file on Heroku via HttpRequest (including file in attachment) and I got response zip file now I want to store this zip file in static resources.

So how we can store zip file dynamically in static resources when we get zip file in HttpResponse ?
Best Answer chosen by Ravikant kedia
Ankit AroraAnkit Arora
Am sorry you can't insert it from Apex, it is possible via metadata API.