Needs work
Project:
Rules HTTP Client
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2012 at 21:46 UTC
Updated:
12 Feb 2016 at 10:48 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
strainyy commentedJust adding a watchdog message when a request error is returned.
Module will still return NULL where there is an error returned.
To check for errors you will need to pass the variable with the "response" to a rules component. In the rules component you need to create a condition to check for a zero-length string. This can be done using a regular expression.
Comment #2
twistor commentedWhy not just add another provided variable, like error_code and/or error_message?