```
curl -XPUT http://127.0.0.1:8098/types/<type>/buckets/mybucket/keys/mykey \
  -H "x-riak-index-field2_int: bar" \
  -d 'data1'
 ```