This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I am trying to run this. I am able to post to the table through Rails C, so I have access from there. | |
curl --request POST --header "Authorization: Token token="d168c8333a2b72bf7ad7bfe4bb9c669d" --header "Content-Type: application/json" -d '{ | |
"beer": { | |
"name":"UFO" | |
"brewery":"Harpoon" | |
"style":"Hefe" | |
"location_id":"11" | |
} | |
}' http://localhost:3000/beers |