Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar authored May 23, 2019
1 parent b6fd182 commit 5b80c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ SuperTokensRequest.delete("/someAPI", config).then(response => {
// @params data: put body data - key value object
// @params config: this is same as axios config
// @returns Promise
SuperTokensRequest.post("/someAPI", data, config).then(response => {
SuperTokensRequest.put("/someAPI", data, config).then(response => {
// API response.
}).catch(err => {
// err is of type axios error
Expand Down

0 comments on commit 5b80c41

Please sign in to comment.