Try it

Run this code in your console or from here directly:

request.js

fetch'(https://devqna-som.netlify.app/api/pythonqna/1)'

.then((response => response.json()))

.then((json => console.log(json))

response.json
{}

When to Use

DevQnAAPI is a free REST API built for developers preparing for coding interviews — but it' also handy anywhere you need a real, working API to build or test against.

Interview prep

Practice real coding interview questions and answers, organized by language and difficulty.

Project demos

Wire up a working API in your own projects without setting up a database or backend first.

README examples

Drop in a live fetch example in your GitHub README or documentation to show real API usage.

Local testing

Test CRUD requests and API integrations locally before pointing them at your own backend.

Python Routes

All HTTP methods are supported. GET routes are clickable and open directly in your browser — POST, PUT, PATCH, and DELETE require a request body, so use a tool like Postman, Insomnia, or curl to test them.

POST

/api/pythonqna

PUT

/api/pythonqna/1

PATCH

/api/pythonqna/1

DELETE

/api/pythonqna/1

JAVA Routes

All HTTP methods are supported. GET routes are clickable and open directly in your browser — POST, PUT, PATCH, and DELETE require a request body, so use a tool like Postman, Insomnia, or curl to test them.

POST

/api/javaqna

PUT

/api/javaqna/1

PATCH

/api/javaqna/1

DELETE

/api/javaqna/1

JavaScript Routes

All HTTP methods are supported. GET routes are clickable and open directly in your browser — POST, PUT, PATCH, and DELETE require a request body, so use a tool like Postman, Insomnia, or curl to test them.

POST

/api/javascriptqna

PUT

/api/javascriptqna/1

PATCH

/api/javascriptqna/1

DELETE

/api/javascriptqna/1

C++ Routes

All HTTP methods are supported. GET routes are clickable and open directly in your browser — POST, PUT, PATCH, and DELETE require a request body, so use a tool like Postman, Insomnia, or curl to test them.

POST

/api/cplusplusqna

PUT

/api/cplusplusqna/1

PATCH

/api/cplusplusqna/1

DELETE

/api/cplusplusqna/1

Golang Routes

All HTTP methods are supported. GET routes are clickable and open directly in your browser — POST, PUT, PATCH, and DELETE require a request body, so use a tool like Postman, Insomnia, or curl to test them.

POST

/api/golangqna

PUT

/api/golangqna/1

PATCH

/api/golangqna/1

DELETE

/api/golangqna/1

Made with by Somenath Choudhury © 2026

Design inspired by JSONPlaceholder API