I am using the example from the Github repository. I placed it into Postman, made the necessary changes and ran it.
Here is the json with names etc changed.
https://{{api_endpoint}}/v1/fax/send
{ "id": "645ca779-55fb-42bf-8b55-5ac1a20c2ac6", "name": "XM Fax Cloud Env", "values": [ { "key": "account_name", "value": "This_Customer", "type": "default", "enabled": true }, { "key": "auth_token", "value": "Our_token_is_is_entered_here", "type": "default", "enabled": true }, { "key": "app_user_id", "value": "Our_Default_User", "type": "default", "enabled": true }, { "key": "api_endpoint", "value": "https://portal.xmedius.com/This_Customer", "type": "default", "enabled": true }, { "key": "fax_number", "value": "770.555.2222", "type": "default", "enabled": true } ]
}
I get a 404 not found error. What is not found?
This is the json returned:
<!DOCTYPE html><html lang="en"> <head> <title>404</title> <style> h1 {text-align:center;font-size: 80px;margin-left: -400px;position:relative;color:#666;text-shadow: -1px -1px 0 #222;} h2 {width: 550px;border-top: 1px solid #DDD;padding: 30px 0 30px 0;margin: 0 auto;} h3 {text-align:center;} .content { position: relative; margin-top: 20px; margin-left: auto; margin-right: auto; margin-bottom: 10px; padding: 25px 10px 25px 10px; width: 960px; height: 500px; border: 1px solid #cccccc; background-color: #ededed; border-radius: 20px; -moz-border-radius: 20px; -webkit-border-radius: 20px; color:#666;} #error-bubble { width: 176px; height: 131px; position:absolute; top: 55px; left: 200px;} #try-again { width: 250px; height: 150px; position:absolute; top: 160px; left: 400px; font-size: 25px; color:#666;} .wrapper { width: 550px; margin: 0 auto;} p { width: 550px; margin: 0 auto; padding-bottom: 15px;} a.button { display: inline-block; vertical-align:middle;
width: 120px; height: 40px; line-height: 40px;
background: rgb(34, 94, 179); background-image: linear-gradient(bottom, rgb(10, 60, 122) 24%, rgb(34, 94, 179) 62%, rgb(34, 94, 179) 47%); background-image: -o-linear-gradient(bottom, rgb(10, 60, 122) 24%, rgb(34, 94, 179) 62%, rgb(34, 94, 179) 47%); background-image: -moz-linear-gradient(bottom, rgb(10, 60, 122) 24%, rgb(34, 94, 179) 62%, rgb(34, 94, 179) 47%); background-image: -webkit-linear-gradient(bottom, rgb(10, 60, 122) 24%, rgb(34, 94, 179) 62%, rgb(34, 94, 179) 47%); background-image: -ms-linear-gradient(bottom, rgb(10, 60, 122) 24%, rgb(34, 94, 179) 62%, rgb(34, 94, 179) 47%); border-width: 1px; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; color:#EEE;
text-align: center; text-decoration: none; text-shadow: 1px 1px 0 #555;
font-weight:bold; font-size: 18px;}
a.button:hover { background:#1b4a75; border-style:inset; text-shadow: 1px 1px 0 #222;}
.left { float:left;} .home { float:left; margin-left: 0px;} #error_code { text-align:center;} .clear { clear:both;} </style> </head> <body> <div class="content"> <img src="https://s3.amazonaws.com/static-cloud-assets/images/error-bubble.png" id="error-bubble" title="404" alt="404"/> <h1>404</h1> <span id="try-again">Oops</span> <div class="wrapper"> <h2>This page is not available</h2> <p>The url you are trying to reach is not available</p>
<a href="/" class="home button">Home</a> </div> </div> </body></html>