Zoho Creator File Upload API
Zoho Creator File Upload API
Hello Zoho community!
I'm having trouble with uploading a file into a zoho record. I've checked this post out
https://help.zoho.com/portal/community/topic/upload-image-file-via-creator-api-from-ios-app
but it seems like I'm doing everything correctly. He uses Apple's NSData of the image, but I'm using Base64. I'm getting back a success response too.
<response>
<result>
<form name="Sign_Up">
<fileupdate>
<values>
<field name="Photo_ID">
<value>/test.png</value>
</field>
</values>
<status>Success</status>
</fileupdate>
</form>
</result>
</response>
Everything went through? These are the params I'm feeding to it:
And the URL from the documentation:
https://creator.zoho.com/api/xml/fileupload/scope=creatorapi&authtoken=
The base64 is converting back to the image when I test it and I've tried data:image/jpeg;base64 in front of the string. What should I put for file?