louisabraham / har2requests

Generate Python Requests code from your browser activity 🤖
MIT License
106 stars 15 forks source link

Use postData from a text field as plain-text #11

Closed blu3r4y closed 3 years ago

blu3r4y commented 4 years ago

This PR fixes #10.

When the postData field uses text instead of params this can be any possible plain text. So we should treat it that way and use data= instead of json= for the final request.

blu3r4y commented 3 years ago

Already merged to master as part of #12.