How to use a API to upload image
Options
![mohan ramanujam](https://us.v-cdn.net/6037124/user_avatars/4156573.jpg)
mohan ramanujam
Member ✭
I have created an API following the instructions and have tested using swagger. I can upload the image. I am trying to embedd this in Draftbit where I have a base 64 image variable. How should I assign the the image variable in the json body?
Comments
-
Use the input name as the key and the value wrapped in " " like a text string would be - https://docs.xano.com/working-with-data/functions/content-upload#example-upload-an-image
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback