Skip to content

Commit 2047a96

Browse files
committed
add information on what Content-Type has to be used
this is only a cosmetic change
1 parent 5e367f9 commit 2047a96

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

design/design.go

+2
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,7 @@ var _ = API("arduino-create-agent", func() {
2424
such as detecting which boards are connected and upload sketches on them.`)
2525
HTTP(func() {
2626
Path("/v2")
27+
Consumes("application/json")
28+
Consumes("plain/text")
2729
})
2830
})

0 commit comments

Comments
 (0)