Onemind-Services-LLC / netbox-secrets

Enhance your secret management with encrypted storage and flexible, user-friendly features.
Apache License 2.0
105 stars 11 forks source link

Add FormParser for session key view #50

Closed kirk444 closed 1 year ago

kirk444 commented 1 year ago

Session key view, for retrieving session key, requires urlencoded data to be sent in the request, and this is only parsed properly with the FormParser

Pull Request

Related Issue

47

New Behavior

Add FormParser for urlencoded data


Contrast to Current Behavior

No form parser, so no urlencoded data is parsed


Discussion: Benefits and Drawbacks

This change allows retrieving session keys via API.


Changes to the Documentation

Documentation already reflects this (currently broken) functionality


Double Check

abhi1693 commented 1 year ago

@kirk444 Your changes are failing on the tests. Could you please check the code again?

kirk444 commented 1 year ago

It seems like maybe the test wants it to also have the multi parse, I will put in a new pull request that adds that as well, I guess