Design and Build Great Web APIs: curl returns error instead of activity (page 9)

Trying out the example on page 9:

​ curl


<!DOCTYPE html>
                <meta name="viewport" content="width=device-width, initial-scale=1">
                <meta charset="utf-8">
                <title>Application Error</title>
                <style media="screen">
                  html,body,iframe {
                        margin: 0;
                        padding: 0;
                  html,body {
                        height: 100%;
                        overflow: hidden;
                  iframe {
                        width: 100%;
                        height: 100%;
                        border: 0;
                <iframe src="//"></iframe>

Any ideas?

1 Like


I was able to obtain the files by downloading the source code from a link on the pragmatic programmers website.

I suspect this problem may stem from the fact that Heroku recently eliminated their free tier, though I hope I am wrong about that being the cause.

I was able to finish chapter one by downloading the files, and I hope I’ll be able to work through the rest of the exercises in the book without the URLs working. I figure that so long as the book doesn’t have us building anything using the (former) free tier on Heroku, we should be okay.


1 Like

Please shoot off a message to Let’s see what we can do about this

1 Like