Can we write to multiple retentions via same REST call?

For data insertion, I’m aware of following API :
curl -i -XPOST “http://localhost:8086/write?db=weather&rp=temp” --data-binary ‘temperature,location=1 value=90 1472666050000000000\ntemperature,location=2 value=90 1472666050000000000’

In above example, two points will be added in temp.

Now In following case, I want to insert following data :
temperature,location=1 value=90 1472666050000000000\nhumidity,location=1 value=40 1472666050000000000

in such a way that :
temperature,location=1 value=90 1472666050000000000 goes into retention temp
humidity,location=1 value=40 1472666050000000000 goes into retention humid

Is it possible to this in single API call ?

I don’t think you can do this with a single request. You need multiple writes to have multiple retention policies.