☰
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
8.7K
All Categories
8
Go client
514
.Net API client
225
Kite Publisher
466
.Net / VBA / Excel (3rd party)
275
Algorithms and Strategies
696
Java client
646
API clients
319
PHP client
2.2K
Python client
256
Mobile and Desktop apps
956
Market data (WebSockets)
2.2K
General
In this Discussion
January 5
rakeshr
January 5
Arulmuruga
January 4
sujith
Getting "Request method not allowed" for Post request to get access-token
Arulmuruga
January 3
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 4
You might be hitting the wrong API endpoint. You can check out the correct endpoint
here
.
Arulmuruga
January 5
@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 5
@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.