☰
Login
Signup
Home
›
API clients
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
14.1K
All Categories
0
Incidents
158
Node JS client
43
Go client
801
.Net API client
386
Kite Publisher
537
.Net / VBA / Excel (3rd party)
465
Algorithms and Strategies
1K
Java client
1.1K
API clients
408
PHP client
4.1K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
General
In this Discussion
January 2021
rakeshr
January 2021
Arulmuruga
January 2021
sujith
Getting "Request method not allowed" for Post request to get access-token
Arulmuruga
January 2021
in
API clients
Hi,
I get the following response while fetching the access token
{
"status": "error",
"message": "Request method not allowed",
"data": null,
"error_type": "GeneralException"
}
My request is like this ..
POST / HTTP/1.1
Host: api.kite.trade
Accept: application/json
Content-Type: application/json
Content-Length: 174
{
"api_key" : "aaaaaaaaaaa",
"request_token" :"bbbbbbbbb",
"checksum" : "cccccccccccc"
}
could you please suggest on how to resolve this ?
Tagged:
@sujith
sujith
January 2021
You might be hitting the wrong API endpoint. You can check out the correct endpoint
here
.
Arulmuruga
January 2021
@sujith
, Thanks ...After changing the endpoint , i am getting the following response
"We're sorry but kite doesn't work properly without JavaScript enabled. Please enable it"
here is my full request..
POST /session/token HTTP/1.1
Host: kite.zerodha.com
Content-Type: application/json
Content-Length: 177
{
"api_key" : "aaaa",
"request_token" :"bbbb",
"checksum" : "ccc"
}
what correction should i make here ?
rakeshr
January 2021
@Arulmuruga
That's not the correct endpoint. You can check the exact POST request param in
this documentation
.
Sign In
or
Register
to comment.
"We're sorry but kite doesn't work properly without JavaScript enabled. Please enable it"
here is my full request..
POST /session/token HTTP/1.1
Host: kite.zerodha.com
Content-Type: application/json
Content-Length: 177
{
"api_key" : "aaaa",
"request_token" :"bbbb",
"checksum" : "ccc"
}
what correction should i make here ?
That's not the correct endpoint. You can check the exact POST request param in this documentation.