Rest API - schvabodka-man/Coffeefuck GitHub Wiki

Hi, folks! I will try to be as straightforward as possible

There are 3 endpoints for api

They differ by type of output

  • /api/output - gives you just brainfuck stdout
  • /api/vm - gives you full snapshot of brainfuck VM
  • /api/memory - gives you snapshot of memory of brainfuck Vm

The parameters for REST API

  • app = brainfuck code
  • input = array inputs(you can only input 1 char because brainfuck reads one char.). So numbers of symbols there must = numbers of "," in brainfuck code