# NOT RUN {
# create a database in a CouchDB server
httpPUT("http://127.0.0.1:5984/temp_db")
# Insert an entry into an ElasticSearch dabtabase.
httpPUT("http://localhost:9200/a/b/axyz", '{"abc" : 123}')
# Then delete the database
httpDELETE("http://127.0.0.1:5984/temp_db")
# }
Run the code above in your browser using DataLab