This would be better posted on the pf-devel list.
James Rouzier
[email protected] :: +1.514.447.4918 (x115) :: http://www.inverse.ca
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence
(http://www.packetfence.org)
On 2015-07-22 7:04 PM, Andy A wrote:
Can someone from inverse comment on this please? Or should I post the
message in pf-devel list? Thank you.
------------------------------------------------------------------------
From: [email protected]
To: [email protected]
Date: Thu, 16 Jul 2015 13:17:53 +0000
Subject: Re: [PacketFence-users] Webservices API
I am using the following curl request
curl -H "Content-Type: application/x-www-form-urlencoded"
—data-urlencode '{
"destination_url":"http://www.cnn.com","by_email":"Sign Up",
"firstname":"testcurl","lastname":"curluser","email":"testcurl@sample_domain.com","aup_signed":"on"}'
https://guest.sample_domain.com/signup?mode=guest-register
I get the following error in the response.
Caught exception in
captiveportal::Controller::Signup->validateMandatoryFields "Can't use
an undefined value as an ARRAY reference at
/usr/local/pf/html/captive-portal/lib/captiveportal/PacketFence/Controller/Signup.pm
line 589."
Thanks.
------------------------------------------------------------------------
From: [email protected]
To: [email protected]
Date: Thu, 16 Jul 2015 11:59:06 +0000
Subject: Re: [PacketFence-users] Webservices API
Okay. Thanks. I have looked two subs inside web.pm that I believe are
used for register and login
web_user_authenticate
web_node_register
Is that correct? It would be great if you could paste the JSON for me
if you have it. Thanks.
------------------------------------------------------------------------
From: [email protected]
Date: Wed, 15 Jul 2015 10:41:06 -0400
To: [email protected]
Subject: Re: [PacketFence-users] Webservices API
Yes. I don't have the exact JSON command in front of me right now.
Look in web.pm <http://web.pm> I think.
Sent from my iPhone
On Jul 15, 2015, at 7:26 AM, Andy A <[email protected]
<mailto:[email protected]>> wrote:
Is it possible to register / unregister using the webservices API
and not the portal?
------------------------------------------------------------------------
From: [email protected] <mailto:[email protected]>
To: [email protected]
<mailto:[email protected]>
Date: Tue, 14 Jul 2015 14:02:48 +0000
Subject: [PacketFence-users] Webservices API
What methods are exposed via the API? Where can I read up about it?
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud
Solutions provide you with the tools and support that you need to
offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________ PacketFence-users
mailing list [email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
PacketFence-users mailing list
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud
Solutions provide you with the tools and support that you need to
offload your IT needs and focus on growing your business. Configured
For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/
_______________________________________________ PacketFence-users
mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud
Solutions provide you with the tools and support that you need to
offload your IT needs and focus on growing your business. Configured
For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/
_______________________________________________ PacketFence-users
mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud
Solutions provide you with the tools and support that you need to
offload your IT needs and focus on growing your business. Configured
For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/
_______________________________________________ PacketFence-users
mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users