Get Started         Best Practices         Developer Guide         FAQ        
Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Not able to recreate cURL POST request using okHTTP multipart-form data in my Android Code

Kent Dec 15, 2017

My app requires adding items and related images as part of what the app does rather than collections being managed from a server. You have provided Python, Ruby, etc. code to give people a head start for doing that, but there is no Java code so I've been trying to figure out how to do it in my app myself. I've found okHTTP to be pretty useful, but I've gotten stuck on how to POST and image for attaching to an item my app has just created. There is something I'm missing about how to assemble the multipart-form data correctly. Details are in my question on stackoverflow. I can post that info directly here if you like. I know it is something simple, I just can't find it. It is the last major hurdle I have for my MVP app design. Thanks for any help.

https://stackoverflow.com/q/47838957/4139694


( Agent )
Kristoffer Pantic

Dec 20, 2017

Hi Kent,

Just checked out your own response to the Stack Overflow question, glad you were able to find a solution :)

Cheers,
Kristoffer

0 rated

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Couldn't find what you were looking for?

support@catchoom.com
https://cdn.desk.com/
false
catchoom
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete