I know this isn't Java, but Apex is Salesforces equivalent of. Some limitations that I've noticed this far are no switch cases and I wasn't able to get line breaks to work.
I'm looking at proof of concept on 'can this be done.' I've determined that it can be and now am working towards what I need to do / learn to make it work.
I'm trying to upload a file from an Apex class to Box using this box api:
https://box-content.readme.io/reference#upload-a-fileThis api is really good at telling me what params I need and what they do, but the example request on the right... I don't track at all.
The solution the internet brings me to:
http://blog.enree.co/2013/01/salesforce-apex-post-mutipartform-data.htmlI really don't know much about making calls, I know what to do with the results when I get them, but that whole initial process I'm unsure about.
In school I remember making most of my Rest calls using Ajax, but would like to do this in Apex.
1) Where should I start with reading materials wise?
- This could be java material, because I'm sure the general concept if I understand it in Java can be applied directly to Apex.
2) Is there a good picture that will help me grasp a high level understanding before I dig in?
- Visual guy here.
Any advice is welcomed.
Thank You.