Merps as a Service
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Gemfile first push Feb 8, 2019
Gemfile.lock first push Feb 8, 2019
README.md updated readme Feb 10, 2019
config.ru changed default port Feb 10, 2019
maas.rb changed default port Feb 10, 2019

README.md

Merps as a Service

finally! the future is now!!!!

Install

$ bundle install

Run

$ bundle exec rackup

this should start the api server at port 13516

Endpoints

/api/v1/merp

Get

getting the endpoint results in "merp"

every time. no matter what. what more could you ask for?

Post

Argument: amount (the amount of merps you want)

Returns: [ "merp" ] where the number of "merp" s equals the amount specified


/api/v1/MERP

Get

returns "MERP" with varying amounts of '?'s and '!'s attached


/api/v1/cammerp

Get

returns "merp" with each letter having a chance of being capitalized


/api/v1/umerp

Get

returns "ₘₑᵣₚ"


Errors

if any argument besides 'amount' is passed through the post request, or any non-existent endpoint is requested, you'll recieve an error in the form of { error: "merp" }

even when you lose, you win!

Currently hosted

this wonderful service is currently being hosted over at https://computerfox.xyz/api/v1/merp

have fun!

Contributing

please contribute and help expand our evermerpin' future