create
create copied to clipboard
workflow content type problem
Hi,
I am attempting to add some custom workflows into my application. I have a delete workflow which works fine sending JSON, this uses a predefined action type.
Where the problem lies is with another workflow defined with a URL. The workflow is called, but the request seems to be application/x-www-form-urlencoded instead of JSON. Is there any rationale behind this anomaly and how would you recommend I fix this, as it causes my file_get_contents("php://input") to be empty.
I eventually figured out the problem and have created a pull request (1st ever woot!)
Thanks, Sam