Use the curl command to call the api curl -X POST -H {Authorisation: Token=token} -d {"original_url=google.com"} http://localhost:3000/api/v1/urls