Warning: Passing your API key as a query parameter exposes it in server logs, browser history, and referrer headers. Only use this method in server-to-server or controlled environments.
https://simplewebapis.com/api/cvparser/parse?text=John%20Doe%0Ajohn%40email.com%0A%0ASkills%0AC%23%2C%20.NET%2C%20React&api_key=swa_your_key
curl -X POST https://simplewebapis.com/api/cvparser \
-H "Content-Type: application/json" \
-H "X-Api-Key: swa_your_key" \
-d '{"text": "John Doe\[email protected]\n\nSkills\nC#, .NET, React"}'
using var client = new HttpClient();
client.DefaultRequestHeaders.Add("X-Api-Key", "swa_your_key");
var payload = new
{
text = "John Doe\[email protected]\n\nSkills\nC#, .NET, React"
};
var json = JsonSerializer.Serialize(payload);
var content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.PostAsync(
"https://simplewebapis.com/api/cvparser", content);
var result = await response.Content
.ReadFromJsonAsync<CvParserResponse>();
Console.WriteLine(result?.Data?.PersonalInfo?.FullName);
// -- Response model --
record CvParserResponse(
bool Success,
string? Message,
CvParserData? Data);
record CvParserData(
PersonalInfo? PersonalInfo,
string? Summary,
List<WorkExperience> WorkExperience,
List<Education> Education,
List<string> Skills,
List<Certification> Certifications,
List<string> Languages,
List<string> Projects,
List<string> Publications);
record PersonalInfo(
string? FullName,
string? Email,
string? Phone,
string? Location,
string? LinkedIn,
string? Website);
record WorkExperience(
string? Company,
string? Title,
string? StartDate,
string? EndDate,
string? Duration,
string? Location,
List<string> Responsibilities);
record Education(
string? Institution,
string? Degree,
string? Field,
string? StartDate,
string? EndDate,
string? Grade);
record Certification(
string? Name,
string? Issuer,
string? Date,
string? ExpiryDate);
$ch = curl_init('https://simplewebapis.com/api/cvparser');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_HTTPHEADER => [
'Content-Type: application/json',
'X-Api-Key: swa_your_key',
],
CURLOPT_POSTFIELDS => json_encode([
'text' => "John Doe\[email protected]\n\nSkills\nC#, .NET, React",
]),
CURLOPT_RETURNTRANSFER => true,
]);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);
echo $data['data']['personalInfo']['fullName'];
const response = await fetch('https://simplewebapis.com/api/cvparser', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-Api-Key': 'swa_your_key',
},
body: JSON.stringify({
text: 'John Doe\[email protected]\n\nSkills\nC#, .NET, React',
}),
});
const result = await response.json();
console.log(result.data.personalInfo.fullName);
import requests
response = requests.post(
'https://simplewebapis.com/api/cvparser',
headers={
'Content-Type': 'application/json',
'X-Api-Key': 'swa_your_key',
},
json={'text': 'John Doe\[email protected]\n\nSkills\nC#, .NET, React'},
)
data = response.json()
print(data['data']['personalInfo']['fullName'])
body, _ := json.Marshal(map[string]string{
"text": "John Doe\[email protected]\n\nSkills\nC#, .NET, React",
})
req, _ := http.NewRequest("POST",
"https://simplewebapis.com/api/cvparser",
bytes.NewReader(body))
req.Header.Set("Content-Type", "application/json")
req.Header.Set("X-Api-Key", "swa_your_key")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
var result map[string]any
json.NewDecoder(resp.Body).Decode(&result)
fmt.Println(result["data"])
require 'net/http'
require 'json'
uri = URI('https://simplewebapis.com/api/cvparser')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Post.new(uri)
request['Content-Type'] = 'application/json'
request['X-Api-Key'] = 'swa_your_key'
request.body = { text: "John Doe\[email protected]\n\nSkills\nC#, .NET, React" }.to_json
response = http.request(request)
data = JSON.parse(response.body)
puts data['data']['personalInfo']['fullName']
var client = HttpClient.newHttpClient();
var request = HttpRequest.newBuilder()
.uri(URI.create("https://simplewebapis.com/api/cvparser"))
.header("Content-Type", "application/json")
.header("X-Api-Key", "swa_your_key")
.POST(HttpRequest.BodyPublishers.ofString(
"{\"text\":\"John Doe\\[email protected]\\n\\nSkills\\nC#, .NET, React\"}"))
.build();
var response = client.send(request,
HttpResponse.BodyHandlers.ofString());
var mapper = new ObjectMapper();
var result = mapper.readTree(response.body());
System.out.println(result.get("data").get("personalInfo").get("fullName"));
let client = reqwest::blocking::Client::new();
let response = client
.post("https://simplewebapis.com/api/cvparser")
.header("Content-Type", "application/json")
.header("X-Api-Key", "swa_your_key")
.json(&serde_json::json!({
"text": "John Doe\[email protected]\n\nSkills\nC#, .NET, React",
}))
.send()?;
let result: serde_json::Value = response.json()?;
println!("{}", result["data"]["personalInfo"]["fullName"]);