use `-d` instead of `-D` for data headers

This fixes failing examples because "-D" has a different meaning than "-d" to *curl*. From *curl* docs:

```
Usage: curl [options...] <url>
 -d, --data DATA     HTTP POST data (H)
 -D, --dump-header FILE  Write the headers to this file
```