# Course Progress Update

## Upon successful response you will get :

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

#### Headers

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

#### Request Body

| Name     | Type   | Description             |
| -------- | ------ | ----------------------- |
| password | String | enter user password     |
| email    | String | enter user email addres |

{% tabs %}
{% tab title="200: OK Cake Successfully retrieved" %}
<pre class="language-javascript"><code class="lang-javascript"><strong>{
</strong>```html
		}
	&#x3C;/style>

	&#x3C;style>
		body {
			font-family: 'Nunito', sans-serif;
		}
	&#x3C;/style>
&#x3C;/head>

&#x3C;body class="antialiased">
	&#x3C;div
		class="relative flex items-top justify-center min-h-screen bg-gray-100 dark:bg-gray-900 sm:items-center sm:pt-0">
		&#x3C;div class="max-w-xl mx-auto sm:px-6 lg:px-8">
			&#x3C;div class="flex items-center pt-8 sm:justify-start sm:pt-0">
				&#x3C;div class="px-4 text-lg text-gray-500 border-r border-gray-400 tracking-wider">
					419 &#x3C;/div>

				&#x3C;div class="ml-4 text-lg text-gray-500 uppercase tracking-wider">
					Page Expired &#x3C;/div>
			&#x3C;/div>
		&#x3C;/div>
	&#x3C;/div>
&#x3C;/body>

&#x3C;/html>
```
}
</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>
```
````
