Marvel http://ec2-35-163-123-62.us-west-2.compute.amazonaws.com:81
bundle install rake db:create rake db:migrate
RAILS_ENV=test rake db:create RAILS_ENV=test rake db:migrate rails test
rails server
Arquivo na raiz da projeto marvel.postman_collection
curl --request GET \
--url 'http://ec2-35-163-123-62.us-west-2.compute.amazonaws.com:81/api/characters?page=2' \
--header 'content-type: application/json' \
curl --request GET \
--url http://ec2-35-163-123-62.us-west-2.compute.amazonaws.com:81/api/characters/2 \
--header 'content-type: application/json'
curl --request DELETE \
--url http://ec2-35-163-123-62.us-west-2.compute.amazonaws.com:81/api/characters/200 \
--header 'content-type: application/json' \
--data '{"name": "teste"}'
#!shellscript
curl --request PATCH \
--url http://ec2-35-163-123-62.us-west-2.compute.amazonaws.com:81/api/characters/2 \
--header 'content-type: application/json' \
--data '{"name": "teste2"}'
curl --request POST \
--url http://ec2-35-163-123-62.us-west-2.compute.amazonaws.com:81/api/characters \
--header 'content-type: application/json' \
--data '{\n "name": "teste",\n "description": "testando",\n "thumbnail": "http://teste.com.br",\n "code": "test"\n}'