Computer Science A
Course Progress
0/0
Learning Goals 3
→Tool Setup
→Scrum Habits
→Portfolio Foundations
1 assignment due
Learning Goals 3
→MCQ Topics
→Lesson Building
→Mastery through Teaching
Learning Goals 3
→Anatomy of a Spring Boot Project
→Spring Boot REST, JPA, ORM, POJO
→ThymeLeaf Coding Concepts
Learning Goals 3
→Spring MVC/Admin UI
→Full Stack Development
→Depth through Presentation
2 assignments due
Learning Goals 3
→Reflect on Sprint
→Learn Self and Peer Assessment
→Set Future Knowledge Goals
1 assignment due
Teaching Weeks Issue
1 assignment due
Learning Goals 3
→Pick Teaching Topics
→Define Lesson, HW Standards
→Develop OCS Features
Learning Goals 4
→Present 1-Topic (prototype)
→Grading/Feedback 1-Topic
→Provide Feedback
→Revise OCS Features
Learning Goals 3
→Present 4-Topics (final)
→Assign Student Assessment
→Capture Preliminary Student Data in OCS
2 assignments due
Learning Goals 4
→Research Technologies
→Database Models (draw.io)
→Frontend UI/UX (html/css)
→API Basics (postman)
AP CSA Exam Simulator — Section II Free Response
AP CSA Exam Simulator - Section II Free Response
RPN Calculator Lesson
Introduction to Java ML
Graph Heuristics - Data Structures
Graph Heuristics - Data Structures
Graph Heuristics
Collections
Calculator Enactment 2
Calculator Enactment 1
Sorts Part 2
Calculator Hack
RPN Calculator - Interactive Lesson
Calculator Hack
Understanding Reverse Polish Notation (RPN)
Calculator Hack - Wayfinding
Calculator Hack - Tracking
Abstract Fibonaccii Hack
Data Types
Selection - Insertion Sort
Merge Sort
Search - Linear, Binary, HashMaps
5 assignments due
Postman Guide
2 min read
- Postman Intro Guide
- Common Status Codes
- Common HTTP Methods
- Why Use Postman?
- Write Backend Code in VS Code
- Test APIs in Postman
- VS Code vs Postman: Where To Find the Information
Postman Intro Guide
Quick Guide to Write & Test APIs with Postman
📚
Background Knowledge
Understand APIs & HTTP basics
→
❓
Why Use Postman?
Test backend without a frontend
→
✍️
Write Backend Code
Define API routes in VS Code
→
🧪
Test APIs
Send requests and inspect responses
→
⚖️
VS Code vs Postman
Where to find info
Common Status Codes
| Status Code | Meaning | When to Expect |
|---|---|---|
| 200 OK | Request succeeded | Successful GET, POST, PUT, PATCH, DELETE |
| 201 Created | Resource created | Successful POST that creates a resource |
| 204 No Content | Request succeeded, no response body | Successful DELETE or PUT with no response content |
| 400 Bad Request | Malformed request syntax or invalid data | When request JSON or parameters are invalid |
| 401 Unauthorized | Authentication required or failed | Missing or invalid auth token/cookie |
| 403 Forbidden | Authenticated but not allowed | Access denied for user to resource |
| 404 Not Found | Resource not found | Invalid endpoint or missing resource |
| 500 Internal Server Error | Server encountered an error | Unhandled exceptions or errors on backend |
Common HTTP Methods
| Method | Purpose | Usage in VS Code | Postman Tip |
|---|---|---|---|
| GET | Retrieve data | Route with methods=['GET'] |
No body needed |
| POST | Create data | Read JSON from request body | Use Body tab to send JSON |
| PUT | Replace data | Replace full record | Send full updated data |
| PATCH | Update part | Partial update logic | Send partial JSON data |
| DELETE | Remove data | Delete from database | No body needed |
Why Use Postman?
- Test backend code (in python flask, java spring, etc.) without having a functional frontend . This allows for students to work on and test different pieces of the project seperately before joining them together. .
- Allows for quick debugging of APIs + Test Cookie/Token storage that may be generated by the backend (typically for authorization).
- Has its own collaboration system such as shared workspaces and collections where team members can share postman requests.
Pro Coder Tip: For more info on any tool (in this case postman) visit its offical documentation Postman Docs
Write Backend Code in VS Code
- 1. Create API endpoints in an api file (flask framework) + define in main.py
- 2. Use the terminal in VS Code to run your Flask localhost server (
python main.py).
Test APIs in Postman
- Choose method (GET, POST, etc.) and enter your API URL (which consists of your endpoint from your code + local host server from python main.py.
- Use Body → raw → JSON to send data for POST/PUT requests.
- View status codes and response data in the panel below.
VS Code vs Postman: Where To Find the Information
| Backend (VS Code) | Testing (Postman) |
|---|---|
| localhost url + endpoint | type localhost url + endpoint into send bar |
| Find API call method | Select HTTP method and enter URL, click Send |
Use request.json to read JSON data |
Enter JSON data under Body → raw → JSON |
Handle cookies with request.cookies |
Manage cookies in Postman’s Cookies tab |
Course Timeline
Week 0 Chat click to open
No messages yet.
Week 1 Chat click to open
No messages yet.
Week 2 Chat click to open
No messages yet.
Week 3 Chat click to open
No messages yet.
Week 4 Chat click to open
No messages yet.
Week 5 Chat click to open
No messages yet.
Week 6 Chat click to open
No messages yet.
Week 13 Chat click to open
No messages yet.
Week 17 Chat click to open
No messages yet.
Week 18 Chat click to open
No messages yet.
Week 19 Chat click to open
No messages yet.
Week 21 Chat click to open
No messages yet.
Week 22 Chat click to open
No messages yet.
Week 25 Chat click to open
No messages yet.
Week 27 Chat click to open
No messages yet.
Week 31 Chat click to open
No messages yet.
Week 34 Chat click to open
No messages yet.