Plug test messing up body request

I think its probably a mistake after too much attempts. Accordingly with Plug.test docs: "The params_or_body field must be one of:

  • nil - meaning there is no body;
  • a binary - containing a request body. For such cases, :headers must be given as option with a content-type;
  • a map or list - containing the parameters which will automatically set the content-type to multipart. The map or list may contain other lists or maps and all entries will be normalized to string keys;"
    So I dont think I need to encode with Jason