Bypassing the nepalstock.com site API

Bypassing the nepalstock.com site API

I am trying to access data here : https://nepalstock.com/company

This is what I see when I inspect in browser.

First the client js (frontend) requests an auth token from https://nepalstock.com/api/authenticate/prove.

I think then, some js code( running on frontend aka client side ) is internally manipulating this first token slightly. Only then the frontend calls this another https://nepalstock.com/api/nots/company/list endpoint with the updated accesstoken.

There are couple of js code I can see when I inspect. But don't know which one is doing the manipulation. Any help with this ?


View on r/NepalStock by Neither_Reception_21


Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *