|
From: Andy A <and...@ho...> - 2015-07-22 23:04:50
|
Can someone from inverse comment on this please? Or should I post the message in pf-devel list? Thank you.
From: and...@ho...
To: pac...@li...
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: and...@ho...
To: pac...@li...
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 loginweb_user_authenticateweb_node_register
Is that correct? It would be great if you could paste the JSON for me if you have it. Thanks.
From: tim...@mc...
Date: Wed, 15 Jul 2015 10:41:06 -0400
To: pac...@li...
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 I think.
Sent from my iPhone
On Jul 15, 2015, at 7:26 AM, Andy A <and...@ho...> wrote:
Is it possible to register / unregister using the webservices API and not the portal?
From: and...@ho...
To: pac...@li...
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
Pac...@li...
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
Pac...@li...
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
Pac...@li...
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
Pac...@li...
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
Pac...@li...
https://lists.sourceforge.net/lists/listinfo/packetfence-users |