Skip to main content
1-Visitor
April 13, 2018
Question

Curl Command inside service

  • April 13, 2018
  • 12 replies
  • 7889 views

Hi All,

Can i use a curl command inside js service?

Also I have an URL as   ~ http://win-hkdrt6do2m5:8080/historian-rest-api/v1/tags?nameMask=* ~
Can I get the json from there by using the content load functions?

Thanks!

Anselmo.

12 replies

1-Visitor
April 16, 2018

If it's not a complex petition, you can just use Content Load Snippets.

1-Visitor
April 16, 2018

Actually, I need to pass a token as parameter for authorization...is that too complex?

1-Visitor
April 16, 2018

Shouldn't