Skip to content

Commit

Permalink
Merge pull request #308 from RIOT-OS/09-coap/pass-uri
Browse files Browse the repository at this point in the history
09-coap: pass URI instead of separate host and path components
  • Loading branch information
maribu committed Jun 18, 2024
2 parents b34bd20 + 21a3af5 commit a7770fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 09-coap/test_spec09.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def coap_get(
cmd = "coap get "
if confirmable:
cmd += "-c "
cmd += f"[{addr}]:{port:d} {resource}"
cmd += f"coap://[{addr}]:{port:d}{resource}"
return self.cmd(cmd, timeout=timeout, async_=async_)


Expand Down

0 comments on commit a7770fa

Please sign in to comment.