I am getting 503 error , give a proper api
Response { type: “cors”, url: “https://pnr-status-indian-railway.p.rapidapi.com/rail/6705519518”, redirected: false, status: 503, ok: false, statusText: “Service Temporarily Unavailable”, headers: Headers, body: ReadableStream, bodyUsed: false } body: ReadableStream { locked: false } locked: false <prototype>: ReadableStreamPrototype { cancel: cancel(), getReader: getReader(), pipeTo: pipeTo(), … } bodyUsed: false headers: Headers { } <prototype>: HeadersPrototype { append: append(), delete: delete(), get: get(), … } ok: false redirected: false status: 503 statusText: "Service Temporarily Unavailable" type: "cors" url: "https://pnr-status-indian-railway.p.rapidapi.com/rail/6705519518" <prototype>: ResponsePrototype { clone: clone(), arrayBuffer: arrayBuffer(), blob: blob(), … }
Únase a la conversación, añada un comentario a continuación:
Response { type: “cors”, url: “https://pnr-status-indian-railway.p.rapidapi.com/rail/6705519518”, redirected: false, status: 503, ok: false, statusText: “Service Temporarily Unavailable”, headers: Headers, body: ReadableStream, bodyUsed: false }
body: ReadableStream { locked: false }
locked: false
<prototype>: ReadableStreamPrototype { cancel: cancel(), getReader: getReader(), pipeTo: pipeTo(), … }
bodyUsed: false
headers: Headers { }
<prototype>: HeadersPrototype { append: append(), delete: delete(), get: get(), … }
ok: false
redirected: false
status: 503
statusText: "Service Temporarily Unavailable"
type: "cors"
url: "https://pnr-status-indian-railway.p.rapidapi.com/rail/6705519518"
<prototype>: ResponsePrototype { clone: clone(), arrayBuffer: arrayBuffer(), blob: blob(), … }