Skip to content

Problem in Final Check (Number 28) #2236

Discussion options

You must be logged in to vote

Yes you can proceed to claim your badge, but I suppose while submission you may encounter an error

for safe zone you can copy paste this:

// Parse the JSON response
var responseJson = pm.response.json();

// Get the actorName from the response body
var actorName = responseJson.data.actorName;

// Set the actorName as a collection variable
pm.collectionVariables.set("favoriteActor", actorName);

// Log the actorName to the console for verification
console.log("favoriteActor set to: " + actorName);

And check if the scripts work @rajdeepchakraborty-rc

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@rajdeepchakraborty-rc
Comment options

@rajdeepchakraborty-rc
Comment options

Answer selected by rajdeepchakraborty-rc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants