release: WRNexusJS 0.8.0
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
# API examples
|
||||
|
||||
## postWebhooksPayment
|
||||
|
||||
```bash
|
||||
curl -X POST "http://localhost:3000/api/webhooks/payment"
|
||||
```
|
||||
|
||||
## getUsersCsr
|
||||
|
||||
```bash
|
||||
curl -X GET "http://localhost:3000/api/users/csr"
|
||||
```
|
||||
|
||||
## getUsersSsr
|
||||
|
||||
```bash
|
||||
curl -X GET "http://localhost:3000/api/users/ssr"
|
||||
```
|
||||
|
||||
## postGraphqlExample
|
||||
|
||||
```bash
|
||||
curl -X POST "http://localhost:3000/api/graphql-example"
|
||||
```
|
||||
|
||||
## postTypedUser
|
||||
|
||||
```bash
|
||||
curl -X POST "http://localhost:3000/api/typed-user"
|
||||
```
|
||||
|
||||
## postLogout
|
||||
|
||||
```bash
|
||||
curl -X POST "http://localhost:3000/api/logout"
|
||||
```
|
||||
|
||||
## getHello
|
||||
|
||||
```bash
|
||||
curl -X GET "http://localhost:3000/api/hello"
|
||||
```
|
||||
|
||||
## postLogin
|
||||
|
||||
```bash
|
||||
curl -X POST "http://localhost:3000/api/login"
|
||||
```
|
||||
|
||||
## getEcho
|
||||
|
||||
```bash
|
||||
curl -X GET "http://localhost:3000/api/echo"
|
||||
```
|
||||
|
||||
## postEcho
|
||||
|
||||
```bash
|
||||
curl -X POST "http://localhost:3000/api/echo"
|
||||
```
|
||||
|
||||
## getMe
|
||||
|
||||
```bash
|
||||
curl -X GET "http://localhost:3000/api/me"
|
||||
```
|
||||
Reference in New Issue
Block a user