rsvp
POSThttps://locksmith.unlock-protocol.com/v2/rsvp/:network/:lockAddress
User applies to attend an event.
Request
Responses
- 200
- 400
- 500
Successfully applied to event
Invalid input received. Bad request.
Unable to fullfil request due to internal server error.
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://locksmith.unlock-protocol.com/v2/rsvp/:network/:lockAddress");
request.Headers.Add("Accept", "application/json");
var content = new StringContent("{\n \"recipient\": \"string\",\n \"email\": \"string\",\n \"data\": {}\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear