• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Writing an API to receive the silent post

Writing an API to receive the silent post 9 years 2 months ago #34028

  • jwang
  • jwang's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
I've written an API that can receive POST requests and extract form data to store into a database. I'm doing this to keep all my clients' form data in one spot for easy access and reporting. The idea being that I would make a silent POST request from RSForm to this API keep the data there.

Now if I tell it to not post silently, my API receives the data just fine, but then I have to return a page to continue to, which would not be ideal since I'm using this to serve multiple sites. If I tell it to POST silently, the form seems to go through, but no data is received at my API. Is the silent post code in RSForm the same as this older help article?

I'm just trying to figure out how the data is getting sent so I troubleshoot this problem. I'll have to do a little more digging in the module code to see if I can find it, but I was wondering if anyone else ran into this issue.
The administrator has disabled public write access.

Writing an API to receive the silent post 9 years 2 months ago #34063

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
Yes, the RSForm!Pro Post to location feature is similar to the mentioned article. You can see the actual source code for it here:

administrator/components/com_rsform/helpers/rsform.php (around line 2026)

administrator/components/com_rsform/helpers/connect.php
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!