You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To test the canister, you can use the `dfx` command-line tool. First, run DFX:
339
+
340
+
```shell
341
+
dfx start --background --clean
342
+
```
343
+
344
+
Then, deploy the canister:
345
+
346
+
```shell
347
+
dfx deploy http_certification_assets_backend
348
+
```
349
+
350
+
You can now access the canister's assets by navigating to the canister's URL in a web browser. The URL can also be found using the following command:
351
+
352
+
```shell
353
+
echo"http://$(dfx canister id http_certification_assets_backend).localhost:$(dfx info webserver-port)"
354
+
```
355
+
356
+
Alternatively, to make a request with `curl`:
357
+
358
+
```shell
359
+
curl "http://$(dfx canister id http_certification_assets_backend).localhost:$(dfx info webserver-port)" --resolve "$(dfx canister id http_certification_assets_backend).localhost:$(dfx info webserver-port):127.0.0.1"
0 commit comments