API and PHP

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

Re: API and PHP

Tue Jun 20, 2017 10:50 am

Thanks Eric, Working like a dream!

Is there an API Reference for the Manager?

User avatar
Eric Stern
Employee
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

Tue Jun 20, 2017 12:26 pm

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.

User avatar
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

Mon Jun 22, 2026 11:20 am

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?

Previous
Return to General Discussion

Who is online

Users browsing this forum: No registered users and 19 guests