This RESTful Mock API is completely free, requires no configuring and no registration. Not to mention, a hard coded request rate limiter is not present.
Send a HTTP PUT/POST/DELETE/PATCH request to https://mockapi.misobarisic.com/mock
with the body containing your custom mock object:
{
"<key>": "<type>"
}
{
"exampleBool": "boolean",
"exampleInt": "integer",
"exampleFloat": "float",
"exampleDate": "date",
"advancedInt": "int 5d",
"advancedFloat": "fl 3d",
"complex": {
"real": "float",
"imaginary": "float"
}
}
- boolean / bool -> returns true or false
- date -> returns current date
- float / fl -> returns a floating point number
- integer / int
- string / str
Passing additional parameters is also supported. Just make sure to append them to the end of your strings.
- d -> defines the number of decimals placed -> "float 5d"
- d -> defines the max amount of digits a number can have -> "int 3d"
- c -> defines the length of the string -> "string 5c"
👤 Mišo Barišić
- Website: https://www.misobarisic.com
- GitHub: @misobarisic
- GitLab: @misobarisic
Give a ⭐️ if this project helped you!
This project is MIT licensed.