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

All PUT and POST use "multipart/mixed; boundary=plug_conn_test" for content-type with "formdata" body in postman output. #111

Open
artonragsdale opened this issue Aug 30, 2024 · 2 comments

Comments

@artonragsdale
Copy link

Hello,

I am using bureaucrat to export postman json and all of the PUT and POST endpoint format the body in formdata mode and set the content-type to "multipart/mixed; boundary=plug_conn_test". I would expect the body to be raw JSON and not use multipart form by default. I'm not sure if this is expected behavior, but it does make the postman collection less useful since the body just shows [object Object] for the data value.

Details about the project:

  • uses ja_serializer to adhere to JSON:API format
  • phoenix 1.6.16

Thanks for any help!

@OpakAlex
Copy link
Member

OpakAlex commented Sep 5, 2024

Hello @artonragsdale, if you can try to create a pr it will be useful, because currently i dont have any production where i use bureaucrat. I can try to find a time, but i am so busy.

@artonragsdale
Copy link
Author

Thanks @OpakAlex , I will try to make time to do this soon. If you have any suggestions about an approach to take or where in the code to look, it's certainly appreciated. No worries if not though!

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

No branches or pull requests

2 participants