Update documentation for CI/CD and new hostname

This commit is contained in:
Niklas Fondberg
2020-03-02 10:32:54 +01:00
committed by GitHub
parent 2ee08ed77d
commit 723aa1c026
5 changed files with 28 additions and 20 deletions
+4 -4
View File
@@ -3,17 +3,17 @@
## List categories
```
curl -X GET https://api2.photowall.com/categories/
curl -X GET https://api.photowall.com/categories/
```
## Show category
```
curl -X GET https://api2.photowall.com/categories/1
curl -X GET https://api.photowall.com/categories/1
```
## Update category
```
curl -X PUT https://api2.photowall.com/categories/1 -H "Content-Type: application/json" -d '{"name": "Dogs"}'
```
curl -X PUT https://api.photowall.com/categories/1 -H "Content-Type: application/json" -d '{"name": "Dogs"}'
```