cancel
Showing results for 
Search instead for 
Did you mean: 

Encrypt the Request payload before post api request . where to add these (encryption)methods

Highlighted
Occasional Visitor

Encrypt the Request payload before post api request . where to add these (encryption)methods

I have locally created swagger editor then generated json , with the help of which created a swagger ui , easily able to do post and get operation , but this was plain json post and get , now i want to implement encryption for the data that i post and decrypt the data which is received as response where do i need to implement these methods (encryption and decryption methods)that encrpt and do post operation and decrypt and give data, and need to generate app_key , where to add these methods in editor or in UI ?? 

1 REPLY 1
Moderator

Re: Encrypt the Request payload before post api request . where to add these (encryption)methods

You can use the interceptors to add pre/post processing to requests. Just remember that this logic would be accessible by the end user.

New Here?
Join us and watch the welcome video:
Watch the New Interview
APITestingMistake#2
Top Kudoed Authors