Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird behavior of POST action #191

Closed
crbrox opened this issue Sep 28, 2016 · 1 comment
Closed

Weird behavior of POST action #191

crbrox opened this issue Sep 28, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@crbrox
Copy link
Member

crbrox commented Sep 28, 2016

The postaction performs and additional level of stringification of the template so the body of the request is a string in JSON which content is the result of substitution (and the content-type is always 'application/json')
For example
with ${X} as template and X with a value of 3 it sends
"3"
as body instead of
3

or
with X is ${X} as template is sends
"X is 3"
(content-type: application/json)
instead of
X is 3

A nested level of 'serialization' that makes inappropriate for calling external APIs

@crbrox crbrox self-assigned this Sep 28, 2016
@crbrox crbrox added the bug label Sep 28, 2016
@fgalan fgalan added this to the 1.2.0 milestone Sep 28, 2016
@fgalan
Copy link
Member

fgalan commented Sep 28, 2016

Fixed in PR #188

@fgalan fgalan closed this as completed Sep 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants