develop #1

Merged
MehrdadShirvani merged 35 commits from develop into main 2026-04-24 14:58:12 +00:00
Showing only changes of commit 3631ba8545 - Show all commits
+4 -4
View File
@@ -147,7 +147,7 @@ Movie Class Fields (already defined):
Implementation Steps: Implementation Steps:
1. Build and Send Request (getMovieById method): - Build and Send Request (getMovieById method):
- Create HTTP request to: https://api.meshcomp.ir/api/v1/movies/{movieId} - Create HTTP request to: https://api.meshcomp.ir/api/v1/movies/{movieId}
@@ -155,13 +155,13 @@ Implementation Steps:
- Send request and get response - Send request and get response
2. Handle Response (getMovieById method): - Handle Response (getMovieById method):
- If status code is 200, return JSON body - If status code is 200, return JSON body
- Otherwise, print error and return null - Otherwise, print error and return null
3. Parse JSON and Create Movie Object (displayMovieDetails method): - Parse JSON and Create Movie Object (displayMovieDetails method):
- Parse JSON response to JsonObject - Parse JSON response to JsonObject
@@ -171,7 +171,7 @@ Implementation Steps:
- Create a Movie object with all extracted data - Create a Movie object with all extracted data
4. Display Results (displayMovieDetails method): - Display Results (displayMovieDetails method):
- Print all movie details in a clean format - Print all movie details in a clean format