# Recent Course

## Upon successful response you will get :

<mark style="color:blue;">`GET`</mark> `https://castleindia.in/emart/public /api/login`

#### Headers

| Name   | Type   | Description      |
| ------ | ------ | ---------------- |
| secret | String | application/json |

{% tabs %}
{% tab title="200: OK Cake Successfully retrieved" %}
<pre class="language-javascript"><code class="lang-javascript"><strong>{
</strong>  ```json
"course": [
        {
            "id": 20,
            "user_id": "2",
            "category_id": "4",
            "subcategory_id": "11",
            "childcategory_id": "16",
            "language_id": "1",
            "title": "Travel Hacking -Smart &#x26; Fun Travel testerrrr",
            "short_detail": "60+ World Travel Tips: Cheap Travel. Fear of Flying. Travel Motivation &#x26; Safety. Negotiation. Social Success Abroad.",
```
}
</code></pre>
{% endtab %}
{% endtabs %}

### IF response fail

````
```html
<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8" />
	<meta name="robots" content="noindex,nofollow,noarchive" />
	<title>An Error Occurred: Method Not Allowed</title>
	<style>
		body {
			background-color: #fff;
			color: #222;
			font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
			margin: 0;
		}

		.container {
			margin: 30px;
			max-width: 600px;
		}

		h1 {
			color: #dc3545;
			font-size: 24px;
		}

		h2 {
			font-size: 18px;
		}
	</style>
</head>

<body>
	<div class="container">
		<h1>Oops! An Error Occurred</h1>
		<h2>The server returned a "405 Method Not Allowed".</h2>

		<p>
			Something is broken. Please let us know what you were doing when this error occurred.
			We will fix it as soon as possible. Sorry for any inconvenience caused.
		</p>
	</div>
</body>

</html>
```
````
