0

As of API 43 there seems to have been some rest resources added to the metadata api. This Documentation Seems to be lacking the ability to tell me how they want me to send the zip package with the JSON request object. Any information would be helpful, Thanks in advance!

  • 1
    Agree it is very limited in details and examples on how to use them. I tried to explore saleforce-alm module (used in cli) but even that seems to be using the rest apis only to quick deploy. – realfire Apr 7 at 4:50
  • Your comment led me to an answer so thank you – Zach Hutchins Apr 11 at 18:42
2

Use a multi-part form... Had to scour the source code for the CLI to find this out ..


--boundary_string

Content-Disposition: form-data; name="entity_content"; Content-Type: application/json

{
OPTIONS
}

--boundary_string

Content-Type: application/zip Content-Disposition: form-data; name="file";

Zip binary data goes here.

--boundary_string--

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.