Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

workflow content type problem #212

Open
Kingtreemonkey opened this issue Feb 26, 2015 · 1 comment
Open

workflow content type problem #212

Kingtreemonkey opened this issue Feb 26, 2015 · 1 comment

Comments

@Kingtreemonkey
Copy link

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
Copy link
Author

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

Thanks,
Sam

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant