Pass invalid JSON format to API
-
Hi! There is some problem when somebody writes a message like this “sometext\n\n”. So I have invalid JSON format {“count” : 1, “stack” : “sometext\n\n”}. I have tried to apply add_filter(‘qs_cf7_api_before_sent_to_api’, ‘callback’) and change $record, but returns nothing. Can you suggest a resolve?
Thanks!)
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Pass invalid JSON format to API’ is closed to new replies.