Hi. Can anyone provide the sample code to implement the API login step using curl?
I am getting the following error:
ResponseError. Reason: ERROR, Response: {"s": "error", "code": 500, "message": "Invalid Request, please provide valid method"}
I am calling the link below
"https://api.fyers.in/api/v2/generate-authcode?client_id=4BH****-100& redirect_uri=https://trade.fyers.in/api-login/redirect-uri/index.html&response_type=code&state=sample_state"