Question: Problem
=======

I need to create an array that takes the argmax and based on that maximum value position fill the array with `[1,0]` while the other fields that are not the maximum will be filled with `[0,1]`.

Example:
--------

Given the vector `a`:

```
a.shape = (3,2)
a = np.array([[1,0],[1,2],[1,3]])

```

Return the vector `b`:

```
b.shape = (3,2,2)
b = np.array([[[1,0],[0,1]],[[0,1],[1,0]],[[0,1],[1,0]]])

```

Answer: 
GET requests do not have bodies
I believe the problem is that you want to access body by

```
console.log('req.body');

```

instead of

```
console.log(req.body);

```

Also, as pointed above, GET doesn't have body.