An open API service indexing awesome lists of open source software.

https://github.com/athiththan11/so-calledrest

Fake REST API with Basic Authentication
https://github.com/athiththan11/so-calledrest

basic-authentication fake jsonplaceholder-api rest-api

Last synced: about 2 months ago
JSON representation

Fake REST API with Basic Authentication

Awesome Lists containing this project

README

          

# So-Called REST

A fake REST API for developers with **Basic Authentication** backed by [JSONPlaceHolder](https://jsonplaceholder.typicode.com/).

**[Deployed on Heroku](https://socalledrest.herokuapp.com/)**

### Basic Authentication

* username: `carbon`
* password: `hydrogen`

### Resources

* [Users](https://jsonplaceholder.typicode.com/users)

### Routes

* GET [/mock/users](https://socalledrest.herokuapp.com/mock/users) : `http://localhost:8080/mock/users`
* GET [/mock/users/1](https://socalledrest.herokuapp.com/mock/users/1) : `http://localhost:8080/mock/users/1`

#### Build & Run

> Use the second command, if you dont have a pre-installed maven environment

```shell
mvn spring-boot:run
```

```shell
./mvnw spring-boot:run
```