my work has this company API. currently im calling the urls using Postman.
Ok, no problem.
Can you make a webhook from within the Particle Console?
i just wana call this url with the photon. https://example.sada/api/sda/recipe?api_token=blahblahla
ok ill give it a shot, thanks
It doesnt post anything on console
Maybe you could reduce the delay?
OMG thanks dude!
is there a different way to to trigger the integration?
i want to store that data into a string so i can use the info. Thanks
Do you want the photon to get the full JSON or just certain part(s)?
both. some urls i want full some i dont
You have to make a webhook for each URL.
Would you please show me how you would store data that is requested.
Its doing my head in to figure it out haha
Also is there a way to do this without webhooks?
You could use TCPClient.
Since your new to all this I would stick with the Webhook integration to keep things as simple as possible.
I just learned how to save data returned from Webhooks and documented it all in this thread which would probably be helpful for you also. Once you learn this you’ll be able to do what your wanting to do and more.
Sorry to mention it, but the development of this thread suggests that the “I’ll look into it” part of your replies usually gets superseded by “Well, just one more question”.
Please do investigate first and not sidestep the suggestions you already had got.
Webhooks are the way to go (especially for
https:// targets virtually the only reasonable one) and there is a wealth of info to be found.
Almost all your questions raised above are addressed one way or the other in these two resources.