@@ -6,14 +6,14 @@ import AnimatedTerminal from '../components/AnimatedTerminal';
66
77// Code examples defined outside component to avoid recreation on each render
88const CODE_EXAMPLES = {
9- curl : `curl -X POST ${ API_BASE_URL } /v1/resumes/ \\
9+ curl : `curl -X POST ${ API_BASE_URL } /api/ v1/resumes/ \\
1010 -H "Content-Type: multipart/form-data" \\
1111 -F "file=@resume.pdf"` ,
1212
1313 python : `import requests
1414
1515response = requests.post(
16- '${ API_BASE_URL } /v1/resumes/',
16+ '${ API_BASE_URL } /api/ v1/resumes/',
1717 files={'file': open('resume.pdf', 'rb')}
1818)
1919print(response.json())` ,
@@ -24,7 +24,7 @@ const fs = require('fs');
2424const form = new FormData();
2525form.append('file', fs.createReadStream('resume.pdf'));
2626
27- fetch('${ API_BASE_URL } /v1/resumes/', {
27+ fetch('${ API_BASE_URL } /api/ v1/resumes/', {
2828 method: 'POST',
2929 body: form
3030}).then(r => r.json()).then(console.log);`
@@ -354,7 +354,7 @@ export default function Landing() {
354354 < p className = "landing-code-footer" >
355355 Full documentation at{ ' ' }
356356 < a
357- href = { `${ API_BASE_URL } /docs/` }
357+ href = { `${ API_BASE_URL } /api/ docs/` }
358358 target = "_blank"
359359 rel = "noopener noreferrer"
360360 >
0 commit comments