Using Postman, I can easily create a new product in the receiving system (called āProduct nameā or any other information that doesnāt have ādeeperā levels), but I am not sure how to use the āimageā syntax within Postman to upload 1 or 2 or however-many images to the system.
What format do I use for the key and value, please?
Could somebody point me in the right direction - any help much appreciated.
Hi there, not sure if this is what you need, but you can select a File as the attribute type in the body.
Also, its is good form to use a descriptive subjectā¦ something like āHow to upload imagesā or something like that will help others with the same issue as well as make it more likely for someone to help. See the list of other subjects in the Forum for examples.
Thankyou for answering my post. I suppose I could have worded it differently, but it was more of a parsing question than about the image per se - Iāll be more aware of this next time.
I need to keep the command āself-containedā so the option of having an external file from Postman would not work in my situation. I simply want to see the entire single CURL command so I can apply it to my solution - as I am only using Postman for testing.
Any way I can do this in a single line instead of external file?
Thanks for that suggestion. I could encode files and send them although with the minimal data being transferred to the host, I am hoping to stick to having it āself containedā in a single command.
Iāl work with this option too though.
When I say self contained, I meant having a single command for the CURL command - so all the data is is there - not having to refer to an external file to refer-to/attach.
The reason I sent my query by this forum was to get the CURL syntax correct in Postman (which is why I mainly use Postman. Testing). The final command syntax is written in Filemaker but needed to understand the native CURL syntax before I could use it.
I have made progress on this overnight (amazing what you can achieve when you donāt sleep. ) and am close.
Thank you for your (and othersā) help on this. Further testing and Googling the stuffing out of this I might have cracked it by the end of today.