Skip to content
This repository has been archived by the owner on Jan 16, 2018. It is now read-only.

Add Example for POSTing UIImages #40

Open
pyro2927 opened this issue Feb 12, 2013 · 0 comments
Open

Add Example for POSTing UIImages #40

pyro2927 opened this issue Feb 12, 2013 · 0 comments

Comments

@pyro2927
Copy link

RestKit allows you to post images with:

RKParams* params = [RKParams params];
RKParamsAttachment* attachment = [params setData:UIImageJPEGRepresentation([thumbnail.image fixOrientation], 0.1) MIMEType:@"image/jpeg" forParam:@"timeline[photo]"];
[[RKClient sharedClient] post:urlString params:params delegate:self];

Is there any easy way to do that with LRResty?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant