diff --git a/README.md b/README.md index 999990b..f352ab3 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ curl -X GET \ ### Update a product ```bash -curl -X POST \ +curl -X PUT \ 'http://localhost:8765/api/products/{product-id}' \ -H 'Content-Type: application/json' \ -d '{ @@ -202,4 +202,4 @@ curl -X DELETE \ Alternatively to [curl][], you can use [Postman][] to target the REST API. Check the Postman [collection](misc/microservices-springboot.postman_collection.json) and the [environment variables](misc/microservices-springboot.postman_environment.json) as well. [Postman]: https://www.getpostman.com/ -[curl]: https://curl.haxx.se/ \ No newline at end of file +[curl]: https://curl.haxx.se/