workflow content type problem
Opened this issue · 1 comments
Kingtreemonkey commented
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.
Kingtreemonkey commented
I eventually figured out the problem and have created a pull request (1st ever woot!)
Thanks,
Sam