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:
346
+
347
+
```shell
348
+
dfx start --background --clean
349
+
```
350
+
351
+
Then, deploy the canister:
352
+
353
+
```shell
354
+
dfx deploy http_certification_assets_backend
355
+
```
356
+
357
+
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:
358
+
359
+
```shell
360
+
echo"http://$(dfx canister id http_certification_assets_backend).localhost:$(dfx info webserver-port)"
361
+
```
362
+
363
+
Alternatively, to make a request with `curl`:
364
+
365
+
```shell
366
+
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