Merge pull request #11 from crisman/refuel_v2_apiurl

update refuel to v2.api endpoint
This commit is contained in:
SpaceAdmiral 2023-02-15 21:26:20 -08:00 committed by GitHub
commit 980a9b4020
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -643,7 +643,7 @@ Note the route departure and destination details. The departure is the waypoint
You will also notice that your ship has consumed fuel upon navigation. You will want to refuel your ship whenever possible or risk getting stranded in space. Once your ship arrives at it's destination, you can refuel it using the following endpoint. You will also notice that your ship has consumed fuel upon navigation. You will want to refuel your ship whenever possible or risk getting stranded in space. Once your ship arrives at it's destination, you can refuel it using the following endpoint.
```bash ```bash
https -A bearer -a $apiToken POST api.spacetraders.io/my/ships/$shipSymbol/refuel https -A bearer -a $apiToken POST $apiUrl/my/ships/$shipSymbol/refuel
``` ```
```json ```json