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.