Thanks Eric, Working like a dream!
Is there an API Reference for the Manager?
API and PHP
-

MichaelBrandl - Member
- Posts: 29
- Joined: Mon Sep 21, 2015 11:15 am
- Location: Hampshire, UK
- Has thanked: 4 times
- Been thanked: 2 times
-

Eric Stern - Employee

- Posts: 532
- Joined: Wed Apr 09, 2014 9:41 pm
- Location: Toronto, Ontario
- Has thanked: 0 time
- Been thanked: 130 times
Re: API and PHP
There is not. Its not really intended to be a public API. However, it is quite simple, so if you just watch the API calls using the debugging tools in the browser it should be very easy to see what its doing.
-

jdiggity - Member
- Posts: 11
- Joined: Thu Mar 19, 2015 4:54 pm
- Location: California
- Has thanked: 0 time
- Been thanked: 1 time
Re: API and PHP
I recently upgraded to 1.5.26 from 1.5.14 and now the code to set the cookie no longer works. All my other netonix switches still work with your example code.
When I read the cookie on older firmware I get something like this...
PHPSESSID=a448453dc18dd4b46ce199c3987cf8be; path=/
But now, the cookie returns "" (nothing)
Is there an updated method to post the username and password for my scripts to work?
When I read the cookie on older firmware I get something like this...
PHPSESSID=a448453dc18dd4b46ce199c3987cf8be; path=/
But now, the cookie returns "" (nothing)
Is there an updated method to post the username and password for my scripts to work?
Who is online
Users browsing this forum: No registered users and 17 guests
