NightRaven16
Badges: 2
Rep:
?
#1
Report Thread starter 1 month ago
#1
I need help with cyberstart assess question 14 . I just need some hints tbh
0
reply
Joshinator
Badges: 5
Rep:
?
#2
Report 1 month ago
#2
i could try but how do you accsees q!4 and i am still stuffed for Q11 so help appreciated but happy to help on the rest and i could give hints for 14 once i can access so if some one could tell me how to i would help and help greatly appreciated
0
reply
markbennison
Badges: 1
Rep:
?
#3
Report 1 month ago
#3
I'll give you an overview answer for Q11 (also stuck on 14) - The form isn't calling the correct function (I believe there were some comments in the html stating it was temporarily inserted). To find the correct function call to replace it with I use the Console with some words of choice and see what pops up that looks like something that should deal with what the form is doing. You don't need to use the Console for anything else, just get the function name and replace it in the HTML before clicking the button. If you need further advice, ask, but try playing around with this first.
0
reply
Joshinator
Badges: 5
Rep:
?
#4
Report 1 month ago
#4
(Original post by markbennison)
I'll give you an overview answer for Q11 (also stuck on 14) - The form isn't calling the correct function (I believe there were some comments in the html stating it was temporarily inserted). To find the correct function call to replace it with I use the Console with some words of choice and see what pops up that looks like something that should deal with what the form is doing. You don't need to use the Console for anything else, just get the function name and replace it in the HTML before clicking the button. If you need further advice, ask, but try playing around with this first.
thanks got it now
0
reply
markbennison
Badges: 1
Rep:
?
#5
Report 1 month ago
#5
(Original post by Joshinator)
thanks got it now
Someone else said they just pasted the script from inside that function into the console with the magic number switched for one much higher. I guess that's what you're supposed to do. Found the answer to 14 though!
0
reply
markbennison
Badges: 1
Rep:
?
#6
Report 1 month ago
#6
Ok, so 14 pulls in data in the JSON format through three APIs (one for each page) but the first one isn't working because it's the wrong one. Using the Network (XHR filter) and Console tabs in Chrome it's possible to solve. I admittedly used Postman, a free software application that I could configure in a similar way to the working APIs, but then I learned how it could all have been done easier in Chrome. Good luck!
Last edited by markbennison; 1 month ago
0
reply
Florant
Badges: 1
Rep:
?
#7
Report 3 weeks ago
#7
(Original post by markbennison)
Ok, so 14 pulls in data in the JSON format through three APIs (one for each page) but the first one isn't working because it's the wrong one. Using the Network (XHR filter) and Console tabs in Chrome it's possible to solve. I admittedly used Postman, a free software application that I could configure in a similar way to the working APIs, but then I learned how it could all have been done easier in Chrome. Good luck!
Can you explain 14 again, in a bit simpler way? How do you do it in Chrome?
0
reply
dogyX3
Badges: 6
Rep:
?
#8
Report 3 weeks ago
#8
(Original post by markbennison)
Someone else said they just pasted the script from inside that function into the console with the magic number switched for one much higher. I guess that's what you're supposed to do. Found the answer to 14 though!
Hi, I have really been struggling with challenge 14. I know that the network shows the requests to get each tab, but the 1st one's not working. I've been looking through the network tab for ages but unfortunately haven't found anything. Am I meant to be looking in the other places?

Edit: Never mind, I've solved it!
Last edited by dogyX3; 3 weeks ago
0
reply
dogyX3
Badges: 6
Rep:
?
#9
Report 3 weeks ago
#9
(Original post by Florant)
Can you explain 14 again, in a bit simpler way? How do you do it in Chrome?
Hi, I'm willing to help you, I literally just solved it. Unfortunately, I haven't yet figured out how to do it in chrome, so there's two other ways I can show you. Can you install either Firefox, or Postman?
0
reply
CLAYBERRI
Badges: 1
Rep:
?
#10
Report 3 weeks ago
#10
im on firefox, what do i change balances to
0
reply
dogyX3
Badges: 6
Rep:
?
#11
Report 3 weeks ago
#11
(Original post by CLAYBERRI)
im on firefox, what do i change balances to
Alright, so API is a way of interacting with applications.

1) On Firefox, you'll need to use the networks tab, to see all the requests.
2) On the network tab, press XHR, to enable the XHR filter. (And ignore any XHR request called "api". It's not related to the challenge)
(XHR is short for XMLhttpRequest - In a way, allows websites to fetch data from a server, and actively update a website without refresh - Exactly the requests we need)
3) Press all the tabs on the banking app (in the virtual phone), to see all the requests made in the Network tabs. (Have a quick look through the request details tabs for each response.)
4) Double Click each of the requests you made and you should see the response received with these requests (which are in JSON format)
(JSON is JavaScript Object Notation is a useful, multipurpose way of showing data.)

5) In this case, you'll see the request URLs of each of the XHR requests have a different end, that's our API.
Now scroll down. Can you see that at the bottom of the responses of those XHR requests, all of these requests have the same parent link? It would make sense that there would probably be something important there - right?

Now the reason you're using Firefox now, is because Firefox easily allows you to edit and resend the network requests =>

6) Go back to the challenge, and now select one of the XHR requests in the tabs, and in the Headers section, click Edit and Resend. You should see the request header details, and the request body. The correct API token is already in the request body, so you shouldn't get the "No API Token Provided" problem, (unless you fail the next step)

7) Change the Request URL into the parent link you found earlier and press send. Make sure that request URL is EXACTLY the same as the parent link - or you'll be trying to access the wrong section - and may receive the "No API Token" problem

8) Open the new request, (by double clicking on the new request), and if you managed to do step 7, you'll see what you've been looking for, for a long time.

9) Hopefully, you should be able to do this final step on your own, using some of the steps I've already shown you. But if you can't, just ask. Hope I helped !
P.S. The only reason I chose to help was so anyone looking could learn how to deal with challenges like this - so please try to understand what your doing in each step: CyberStart Game will only get harder.
Last edited by dogyX3; 3 weeks ago
0
reply
Florant
Badges: 1
Rep:
?
#12
Report 3 weeks ago
#12
(Original post by dogyX3)
Hi, I'm willing to help you, I literally just solved it. Unfortunately, I haven't yet figured out how to do it in chrome, so there's two other ways I can show you. Can you install either Firefox, or Postman
Saw your previous comment, I'll try it. Thanks a lot!
0
reply
dogyX3
Badges: 6
Rep:
?
#13
Report 3 weeks ago
#13
(Original post by Florant)
Saw your previous comment, I'll try it. Thanks a lot!
Go for it! Cyberstart wants us to help each other anyway - so any problems - let me know.
0
reply
Florant
Badges: 1
Rep:
?
#14
Report 3 weeks ago
#14
Got it to work! Thanks for the help. I understand what you did, why you did it. I was trying to do this, but Chrome doesn't have this feature which is fairly important for the challenge. Thank you again.
0
reply
guptaanushre
Badges: 1
Rep:
?
#15
Report 3 weeks ago
#15
what is the last step for question fourteen.
ive got the api but i do not know how to use it
please
Last edited by guptaanushre; 3 weeks ago
0
reply
dogyX3
Badges: 6
Rep:
?
#16
Report 3 weeks ago
#16
Well, once you've got the correct api, you'll have to use steps 6, 7 and 8 again, only this time, use the new link, instead of the parent link
Otherwise if you try using the api, it'll say "No API Token Provided".

Editing one of the original XHR requests, means the correct API token is already in the request. The request body contains the token.
Last edited by dogyX3; 3 weeks ago
0
reply
guptaanushre
Badges: 1
Rep:
?
#17
Report 3 weeks ago
#17
thankyou so much.
Last edited by guptaanushre; 3 weeks ago
0
reply
bobsterretsbob
Badges: 2
Rep:
?
#18
Report 3 weeks ago
#18
(Original post by dogyX3)
Well, once you've got the correct api, you'll have to use steps 6, 7 and 8 again, only this time, use the new link, instead of the parent link
Otherwise if you try using the api, it'll say "No API Token Provided".

Editing one of the original XHR requests, means the correct API token is already in the request. The request body contains the token.
I followed your exact steps on firefox but I still couldn't get the new API, Am I doing something wrong?
0
reply
Marcus W
Badges: 3
Rep:
?
#19
Report 3 weeks ago
#19
(Original post by dogyX3)
Alright, so API is a way of interacting with applications.

1) On Firefox, you'll need to use the networks tab, to see all the requests.
2) On the network tab, press XHR, to enable the XHR filter. (And ignore any XHR request called "api". It's not related to the challenge)
(XHR is short for XMLhttpRequest - In a way, allows websites to fetch data from a server, and actively update a website without refresh - Exactly the requests we need)
3) Press all the tabs on the banking app (in the virtual phone), to see all the requests made in the Network tabs. (Have a quick look through the request details tabs for each response.)
4) Double Click each of the requests you made and you should see the response received with these requests (which are in JSON format)
(JSON is JavaScript Object Notation is a useful, multipurpose way of showing data.)

5) In this case, you'll see the request URLs of each of the XHR requests have a different end, that's our API.
Now scroll down. Can you see that at the bottom of the responses of those XHR requests, all of these requests have the same parent link? It would make sense that there would probably be something important there - right?

Now the reason you're using Firefox now, is because Firefox easily allows you to edit and resend the network requests =>

6) Go back to the challenge, and now select one of the XHR requests in the tabs, and in the Headers section, click Edit and Resend. You should see the request header details, and the request body. The correct API token is already in the request body, so you shouldn't get the "No API Token Provided" problem, (unless you fail the next step)

7) Change the Request URL into the parent link you found earlier and press send. Make sure that request URL is EXACTLY the same as the parent link - or you'll be trying to access the wrong section - and may receive the "No API Token" problem

8) Open the new request, (by double clicking on the new request), and if you managed to do step 7, you'll see what you've been looking for, for a long time.

9) Hopefully, you should be able to do this final step on your own, using some of the steps I've already shown you. But if you can't, just ask. Hope I helped !
P.S. The only reason I chose to help was so anyone looking could learn how to deal with challenges like this - so please try to understand what your doing in each step: CyberStart Game will only get harder.
Tried doing this, but it didn't work for me (I am using Firefox), any ideas where I might have gone wrong?
1
reply
Marcus W
Badges: 3
Rep:
?
#20
Report 3 weeks ago
#20
(Original post by Marcus W)
Tried doing this, but it didn't work for me (I am using Firefox), any ideas where I might have gone wrong?
Never mind, I just accidently skipped a simple step
0
reply
X

Quick Reply

Attached files
Write a reply...
Reply
new posts
Back
to top
Latest
My Feed

See more of what you like on
The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

Personalise

University open days

  • Trinity Laban Conservatoire of Music and Dance
    Contemporary Dance Undergraduate
    Tue, 19 Nov '19
  • University of Surrey
    All subjects except Veterinary Medicine and Guildford School of Acting Undergraduate
    Wed, 20 Nov '19
  • The University of Law
    Solicitor Series: Discover Your Type of Law - LPC and GDL - Birmingham campus Postgraduate
    Wed, 20 Nov '19

Which party will you be voting for in the General Election?

Conservatives (145)
19.1%
Labour (323)
42.56%
Liberal Democrats (154)
20.29%
Green Party (41)
5.4%
Brexit Party (21)
2.77%
Independent Group for Change (Change UK) (2)
0.26%
SNP (9)
1.19%
Plaid Cymru (6)
0.79%
Democratic Unionist Party (DUP) (1)
0.13%
Sinn Fein (1)
0.13%
SDLP (0)
0%
Ulster Unionist (1)
0.13%
UKIP (7)
0.92%
Other (8)
1.05%
None (40)
5.27%

Watched Threads

View All