Code Monkey home page Code Monkey logo

txtfile.api's Introduction

txtFile.API

API that lets edit/access lines in a txt file in API hosting computer with headers

Note

Currently there isn't support for special characters only letters, numbers and space.

Usage

Designed to only be used with "GET" method and use headers

Write

http://192.169.1.45:5000/write

Header value explanation
write str(no special characters) The text that will be put in txt file.
line integer The line number the text will be put old one will be repleaced.

Responses:
ok: "ok"
not ok: "missing header" (line header is not given)
, "line header only takes numbers" (line header didn't take number)
, "text header dosen't take special characters" (text header took special characters)

Read

http://192.169.1.45:5000/read

Header value explanation
line integer The line number of the text that will be returned

Responses:
ok: {"result": "<the_result>"}
not ok: "missing header" (line header is not given)
, "line header only takes numbers" (line header didn't take number)

txtfile.api's People

Contributors

thdag avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.