Pattern Matching a HTTP request?

Whatever You want to do with the response…

cant imagine anything, do i log something there?

I am sorry if my answers confuse You…

It is just an example of how to pattern match HTTPoison responses.

What You want to do with the response is up to You.

1 Like

and can I do some formatting with the response?
I get: "{\"good\":false}"
how can I remove these weird {} \ etc

Of course You can do something with this kind of responses… You can decode it…

It looks like a json string, so maybe use Jason?

thank you very much for the help and responses