How to pass hash in Postman
By the looks of what you are trying to send, you need to change the Grape restriction, because
destinations is an Array , not a Hash :
You don't need the "destination" hash when sending the request:
This creates an Array of hashes.In order to send this through POSTMAN, you'll need to modify that destinations param your sending and add multiple lines in POSTMAN. Something like:
Hope this answers your questions. Let me know if this is what you were looking for. |
Comments
Post a Comment