update listening port in readme
This commit is contained in:
parent
3d38629167
commit
a4c3c46f04
|
@ -1,6 +1,6 @@
|
||||||
# | API mixer |
|
# | API mixer |
|
||||||
|
|
||||||
Simple REST API mixer as a service. A minimal service will be deployed on your local port `8000`, the keywords has to be sent with the _query_ field `q`. The output is a _application/json_ set, if the header `Accept: application/json` is not set or does not specify json, it will render as a simplistic HTML webpage representing the results and images.
|
Simple REST API mixer as a service. A minimal service will be deployed on your local port `8080`, the keywords has to be sent with the _query_ field `q`. The output is a _application/json_ set, if the header `Accept: application/json` is not set or does not specify json, it will render as a simplistic HTML webpage representing the results and images.
|
||||||
|
|
||||||
|
|
||||||
### Summary
|
### Summary
|
||||||
|
@ -36,7 +36,7 @@ $ npm start;
|
||||||
|
|
||||||
### III. Test the API
|
### III. Test the API
|
||||||
|
|
||||||
You can now use [Postman](https://www.getpostman.com/) or whatever API client or web browser at `127.0.0.1:8000`. The only allowed request method is **GET** and accepts the research field in a query parameter named 'q'.
|
You can now use [Postman](https://www.getpostman.com/) or whatever API client or web browser at `127.0.0.1:8080`. The only allowed request method is **GET** and accepts the research field in a query parameter named 'q'.
|
||||||
The console running the server will provide reactive and real-time details.
|
The console running the server will provide reactive and real-time details.
|
||||||
|
|
||||||
Example URL : http://127.0.0.1:8080/?q=Nutella that searches for the keyword "Nutella".
|
Example URL : http://127.0.0.1:8080/?q=Nutella that searches for the keyword "Nutella".
|
||||||
|
|
Loading…
Reference in New Issue