d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Httprequest? Rest? Start Where? > Apex
Add Reply New Topic New Poll
Member
Posts: 1,849
Joined: May 31 2008
Gold: 2,571.50
Apr 2 2016 10:11am
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-file

This 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.html

I 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.
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll