diff --git a/src/consuming.mjs b/src/consuming.mjs index 8090053..514d46e 100644 --- a/src/consuming.mjs +++ b/src/consuming.mjs @@ -1,6 +1,10 @@ import setText, {appendText, showWaiting, hideWaiting} from "./results.mjs"; export function get() { + axios.get("http://localhost:3000/orders/1") + .then(({data}) => { + setText(JSON.stringify(data)) + }) } export function getCatch() {