Is there any way to make a "PUT" request with a single string value? I'm using this library to make REST calls to Firebase -- their "PUT" allows (and often requires) writing to an "end node" with a single value (so as not to override data) -- I basically want to do:
curl -X PUT -d '"June 23, 1912"' \
'https://docs-examples.firebaseio.com/rest/saving-data/fireblog/users/alanisawesome/birthday.json'
As is described in this documentation. (look at the "PUT" section)
Is there any way to make a "PUT" request with a single string value? I'm using this library to make REST calls to Firebase -- their "PUT" allows (and often requires) writing to an "end node" with a single value (so as not to override data) -- I basically want to do:
As is described in this documentation. (look at the "PUT" section)
I basically want to be able to do something like:
Notice the bool instead of a HashTable (this could just be a string)