These are chat archives for ushahidi/Community
You can then use that id to "link" the file to a post
In the field where you are expecting the image, you can use the id returned by the media endpoint
ie: I have a media_test field in my local environment where the returned ID is sent like this: "media_test":
I'm sending that value in a field inside the
values section of the post request and I see the image just fine when I go to my local environment to check
Of course your field names will be different most likely, I'm just using the ones from the test suite.
This is my values object in the request, in case it's any help:
1) I never uploaded videos. I'd guess you need a post type supporting videos, though.
2) When you say "after the key field" , what do you mean ? I don't see a key field in your screenshots.
3) I think this might be because you don't have the correct content type header. Change "Raw" to application/json and let me know if that helps.
Also: You don't have to apologize for the questions !! I'm pretty sure I'll be asking questions myself later ha, I'm still learning this stuff myself.