How to accept post request via json on rails? -


I have a controller that accepts both HTML and json format data. I want to know how to accept data from JSON format from POST request to browser fiber client? How to change Jason Formatting Data into String to store in the database being stored in the Zero value database? I have used Raval Gani to filter Jason's content Ruby on Rail .

You can see the serialization class method:

< P> The one coming JSO format can easily be saved and parsed it in a hush while retrieving it from the database.


Comments