cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iOS Shortcuts Rest API (POST)

Here to help

iOS Shortcuts Rest API (POST)

Hi,

 

Have anyone worhed with Rest API post calls in iOS Shortcuts?

 

Worked a bit around with it and made a call to geta snapshot from a specifik camera

 

When i execute the same command in postman it works perfectly i get the return of a URL adress to click, but when i try to do it in ios shortcut its just "stuck" - anyone seen that before?

 

1.jpg

1 REPLY 1
Meraki Employee CN
Meraki Employee

Re: iOS Shortcuts Rest API (POST)

Right off the bat, I would recommend adding a delay between getting the URL and actually doing the GET on that link. It takes some time for that link to get fully ready. 

 

I'll share what I have so far. This is by no means a finished shortcut. Right now it's being held together with duct tape and chewing gum. But hopefully, it gets you closer to what you're trying to do. You'll need to change some things around as I call a dictionary that references my API key. 

 

I tried to get the custom timestamp working but I never could get it. Let me know if you come up with one that's more efficient. 

 

https://www.icloud.com/shortcuts/9b94825d64304ae783e61e02c11f9685

Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.