Certain Text not Allowed?

nicheweb

Member
Hello,

I'm trying to write an API call and when I put in the following content for one of the values - Pabbly won't allow it to save. Does it have something to do with the PHP?

<?php
/// code to hide the regex if you are logged into the website as an admin. In this case, it is if the admin can see the admin bar on the left for security.
/// You can replace this with something like if ($_GET['admin'] == 1), and you can add ?admin=1 in the URL, but this obviously less secure.
if (xyz::canAdminViewAdminBar()) {
/// no regex, admin is logged in
} else {
/// no admin, show regex - last updated 12/28/24 - last rolled out on 12/28/24
// spam submitted on SLD 2/2/24
echo "^((?!XXXXXXXXXXXXXXX).)*$";
}
?>
 

Resham

Administrator
Staff member
Hello,

Pabbly Connect expects plain data, like JSON or text — not executable code like PHP.
 

nicheweb

Member
Hello,

Pabbly Connect expects plain data, like JSON or text — not executable code like PHP.
I don't want it to execute the code or anything, just pass the text onto the next system as the next system is what executes the PHP. Is that possible?
 

ArshilAhmad

Well-known member
Staff member
Could you please make a short screen recording showing how you're passing this data in your API call and the exact issue you're encountering? Also, share the Workflow URL where you're facing this issue.
 

ArshilAhmad

Well-known member
Staff member
Thank you for the update. We're glad to hear that you were able to find a fix for the issue.
 
Top