diff --git a/doc/DATA_API.md b/doc/DATA_API.md index 41567ad4..97b24575 100644 --- a/doc/DATA_API.md +++ b/doc/DATA_API.md @@ -113,7 +113,7 @@ curl -XPOST 'localhost:4001/db/execute?pretty&timings' -H "Content-Type: applica ## Sending requests to followers If you send a HTTP request to a node that is not the leader of the cluster, the node will respond with [HTTP 301 Moved Permanently](https://en.wikipedia.org/wiki/HTTP_301) and include the address of the leader in the response as the `Location` header in the response. It is up the clients to re-issue the command to the leader. -This choice was made, as it provides maximum visibility to the clients. For example, tf a follower transparently forward the request to the leader, and one of the nodes then crashed during processing, it may be much harder for the client to determine where in the chain of nodes the processing failed. +This choice was made, as it provides maximum visibility to the clients. For example, if a follower transparently forward the request to the leader, and one of the nodes then crashed during processing, it may be much harder for the client to determine where in the chain of nodes the processing failed. ## Bulk API You can learn about the bulk API [here](https://github.com/rqlite/rqlite/blob/master/doc/BULK.md).