menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

JS Everywhere

A community for the JavaScript Everywhere book by Adam Scott, published by O'Reilly.

Channels
Team

Trouble Deploying API

June 11, 2021 at 6:49am

Trouble Deploying API

June 11, 2021 at 6:49am
I've slowly been working through this book and a few weeks ago got to deploying the api. I ran the curl request and it returned what was expected. I then took a break for a while and am just coming back. I tried running the curl request again just to make sure it was working and I am not getting the {"data":{'notes":[]}} that is expected anymore. I'm not sure what happened. I tried deleting the heroku app and created a new one with the same config vars and the only thing I get back is empty HTML saying there's an error and "cannot POST".
I want to make sure it is all working properly before continuing in the book.

June 11, 2021 at 9:36pm
I found my error, it is working again.
like-fill
1