โ05-12-2021 11:05 AM
Iโm trying to use an API to post data to an application.
There is no account. Instead I have a specific account.
The curl API looks like this:
curl https://communicate.modolabs.net/api/v1/directories/revisions --header โAuthorization: Token myTokenโ --form โname=Modo Testโ --form โupload=@directory.xmlโ where โmyTokenโ would be the token I was given.
How do I convert this to the REST Snap?
โ08-06-2021 08:10 AM
I havenโt been able to get this work for my use. Tried different things and nothing worked.
โ08-10-2021 04:23 PM
@mike.korcynski @Sowmya_Rayavarapu @robert_parks
Thatโs horrible news guys. Again, I actually havenโt done a lot of work with our REST snaps and just to post this earlier post involved some learning for me. However, we absolutely should be able to get this to work! Maybe, I posted too many details suggesting I knew exactly how it works. I can roll-up my sleeves and help you guys get this working.
โ08-11-2021 08:05 AM
Thank you so much Matthew. Keep us posted.
โ08-02-2021 09:52 AM
did you ever solve this?
โ08-11-2021 09:14 AM
For me at least, if I understand the problem correctly, the primary issue seems to be when you set a form field to a file. you canโt then continue to set additional form fields.