https://api.spacexdata.com/v4 is not working . Can you please provide another link which I can use for testing.
Discussion posts and replies are publicly visible
This is not a valid URL. What you have added is just a base URL. In order to get something from it, you will need to add a relative path like this. api.spacexdata.com/.../launches