create icon indicating copy to clipboard operation
create copied to clipboard

workflow content type problem

Open Kingtreemonkey opened this issue 11 years ago • 1 comments

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 avatar Feb 26 '15 11:02 Kingtreemonkey

I eventually figured out the problem and have created a pull request (1st ever woot!)

Thanks, Sam

Kingtreemonkey avatar Feb 26 '15 14:02 Kingtreemonkey